Package: ldapscripts
Version: 1.9.0-2
Severity: normal
Tags: patch

By default the User IDs starts at 10000 and machine IDs starts at 20000.

When no machine account exists, all works as expected and new users get
last used User ID + 1.

But when a machine account is created, this gets the Machine ID 20000 and 
next created user gets the User ID 20001 (last used Machine ID + 1), because 
there is no difference between searches last used User ID and Machine
ID in runtime file.

Simple adding $USUFFIX to _ldapsearch parameter, in _findlastuser() is
enough to solve this. But IMHO adding $MSUFFIX to _findlastmachine()
is good idea too. Both added in the same manner as in
_findlastgroup() is $GSUFFIX.


-- System Information:
Packages ldapscripts not on tis machine

regards
Slavko

-- 
Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature

Reply via email to