Dear Roland, my problem was a bad configured lam.conf after a new installation and a small software bug:
The Software was looking for the highest UID, what is 30000 in my bad configuration. But 30000 is not allowed, so it makes a fallback to one more than minimum. OLD lam.conf: modules: posixAccount_minUID: 10000 modules: posixAccount_maxUID: 19999 NEW lam.conf: modules: posixAccount_minUID: 10510 modules: posixAccount_maxUID: 30000 <--- This value makes the failure WORKING lam.conf: modules: posixAccount_minUID: 10000 modules: posixAccount_maxUID: 19999<--- This value makes the failure Mit freundlichen Grüßen / Best Regards / Saludos Matthias Spork - IT-Manager, Business Development - ------------------------------------------------------------ ttb GmbH & Co. KG Eichenzell Bürgermeister-Ebert-Straße 18 36124 Eichenzell Germany Phone: +49 6659 989 161 Mobil: +49 162 1392607 Fax: +49 6659 989 361 Email: [email protected] Internet: http://www.ttb-group.de ttb Group Modern Plastics Technology ttb GmbH & Co. KG Eichenzell Sitz Eichenzell Amtsgericht Fulda HRA 1443 Geschäftsführer: Dietrich Twietmeyer, Dr. Thomas Klüß Persönlich haftende Gesellschafterin: Thermoplast Technik Verwaltungs-GmbH Sitz: Eichenzell Amtsgericht / Registergericht: Fulda HRB 2013 Geschäftsführer: Dietrich Twietmeyer, Dr. Thomas Klüß Von: Roland Gruber <[email protected]> An: [email protected] Datum: 06.01.2011 17:56 Betreff: Re: [Lam-public] Antwort: Re: Antwort: Re: Automatic uidNumber -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Matthias, Am 06.01.2011 15:51, schrieb [email protected]: > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
