[Samba] Re: smbldap-tools: only incremental UID's?

2004-02-18 Thread Jérôme Fenal
Rauno Tuul wrote: Hi, In smbldap-useradd.pl is a pice of code, which find the first unused uid starting from $UID_START (for example 1000). if (!defined($userUidNumber)) { # find first unused uid starting from $UID_START while (defined(getpwuid($UID_START))) { $UID_START++; } I've

Re: [Samba] Re: smbldap-tools: only incremental UID's?

2004-02-18 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jérôme Fenal wrote: | The idea would be to add support to smbldap-tools for an | uidpool in the directory. One more LDAP search to find the | next uidNumber, but many many less than doing incremental | searches to find the hole to fill, and moreover