Re: [Cpu-users] Slow user creation
Brought to you by:
matheny
From: Lukas K. <lu...@kn...> - 2003-09-25 12:27:28
|
Am Mi, 2003-09-24 um 22.27 schrieb Terrence Martin: > I am noticing that when adding new users the command take a considerable > amount of time to come back. Presumably this is as the result of > searching for unused gid or uid. A qoute from cpu.conf(5): -- snip -- RANDOM = true or false If RANDOM is true, then a random number will be generated and searched for (this number, if unused in the directory, will be the users uid or a groups gid). If a user or group with that ID exists, the process will continue for ID_MAX_PASSES. If true, a linear scan will be done starting at MIN_UIDNUMBER (or GIDNUM- BER) and will not stop until an unused ID is found or the number of scans is equal to ID_MAX_PASSES -- snap -- If I interpret this correctly, it would solve your problem (speed), because there don't have to be much ldap-questions for finding a free uid. > Terrence -- bye Lukas |