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
-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