-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matthias,

Am 06.01.2011 15:51, schrieb matthias.sp...@ttb-group.de:
> this is a documented "feature". The function search for the first free ID 
> between all ID's.
> How can you change this to get the max ID?
> 
> 
> lib/modules/posixAccount.inc, Line 1677
> // find free numbers between existing ones

this is only the fallback if none of the other cases matched.

Please check the values of the following variables in line 1650 (before
the if-clause):

$id             should be the highest of your existing UIDs
$minID          should be the minimum ID from configuration
$maxID          should be the maximum ID from configuration

I just tested this with some accounts and LAM did not reuse old UIDs as
long there were free higher UIDs in the allowed range.


- -- 

Best regards

Roland Gruber


LDAP Account Manager
http://www.ldap-account-manager.org/

Want more? Get LDAP Account Manager Pro!
http://www.ldap-account-manager.org/lamcms/lamPro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0l89QACgkQq/ywNCsrGZ5HJQCfXNbAc8eWbUahsk0mdwJ0fe0k
cfgAnAtPv0BBoHbT5WDdw5qw4URgRibg
=bg2b
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Lam-public mailing list
Lam-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to