Thu, 6 Jan 2011 20:55:54 +0100
Slavko <[email protected]> wrote:

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

Hi. Thanks for report. Could you provide patch in diff format?
I don't use ldapscripts for machine accounting so it would be better if
you create and test one yourself.


-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    [email protected]             Jabber:  [email protected]
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to