[Freeipa-devel] [PATCH] 199 convert uidnumber to string

Jason Gerard DeRose jderose at redhat.com
Thu May 7 06:00:15 UTC 2009


On Wed, 2009-05-06 at 07:40 -0400, Rob Crittenden wrote:
> Jason Gerard DeRose wrote:
> > On Mon, 2009-05-04 at 16:31 -0400, Rob Crittenden wrote:
> >> We need to convert the uidnumber to a string when adding/modifying users 
> >> to avoid a type error on the LDAP side.
> >>
> >> Pavel, I'm not sure whether this is handled automagically or not in your 
> >> version of the plugin.
> >>
> >> rob
> > 
> > ack.
> > 
> > This is fine as a stop gap, but we really need a better solution in the
> > long run.
> > 
> > So the UID is always in integer, correct?  Do all LDAP "types" need to
> > be sent as strings, or is this just a case where we are using a more
> > restrictive type in IPA than the attribute in LDAP?
> > 
> 
> Pavel is working on some smarter schema handling in the new LDAP plugin. 
>   I think that will handle the type conversions for us.
> 
> rob

Still confused about the LDAP type, though: so is there such a thing as
an LDAP integer type?  Why exactly are we converting to a string
representation of the integer?




More information about the Freeipa-devel mailing list