in reply to Looking for highest uidNumber in ldap
LDAP::Control::Sort
to get the highest uid, then ++ it.
--------------------------------------------------------------
g0n, backpropagated monk