in reply to Re: Looking for highest uidNumber in ldap
in thread Looking for highest uidNumber in ldap

Thanks for the reply.

Where is it documented that $ldap->add() increments uidNumber? Knowing that would have saved me some heartache.

  • Comment on Re^2: Looking for highest uidNumber in ldap

Replies are listed 'Best First'.
Re^3: Looking for highest uidNumber in ldap
by davidrw (Prior) on May 14, 2005 at 22:41 UTC
    Hmm. I'm actually not familiar w/the internals of LDAP -- i just assumed that uidNumber was a LDAP primary key (thus unique and auto-incrementing), so that it would be necessary for add() (really whatever "ADD" command it sends to the ldap server) to result in the sequence (internal to the ldap server) being incremented .. So if the only need for trying to find the highest uidNumber was just to feed it back into add(), it didn't seem necessary, but I assume there's a broader need for it that i'm just missing...