Hi Roland, thank you for the information. Can you give me a hint where to find that part in the code to change it? In our case it would fully suffice to just cut the string in the "User name" field to a length of 8 characters. I guess this is rather easy to implement for us hardcoded. Of course we have to check this after every update in the future. Is it possible to add this as a future feature request?
Thanks & Br, Manuel -----Original Message----- From: Roland Gruber [mailto:[email protected]] Sent: Dienstag, 02. Juni 2015 19:28 To: [email protected] Subject: Re: [Lam-public] Limit username length Hi Manuel, On 02.06.2015 15:35, SCHARFY Manuel wrote: > we're starting to run LAM Pro in our company. Our username policy defines a > max length of 8 characters (where the default is one letter from the given > name and 7 letters from the surname). Is it possible to force this policy > upon user generation? Or even better, automatically generate a default > username in this format for Unix. The default setting is nearly what we need, > except only the first 7 characters of the surname should be used (if less > than 7 than all of them) and not the whole surname. it is not possible to configure the user name length limit inside LAM. They only possibility would be to patch the code. You can also use e.g. OpenLDAP Constraints overlay to enforce this server side. -- Best regards Roland LDAP Account Manager http://www.ldap-account-manager.org/ Want more? Get LDAP Account Manager Pro! https://www.ldap-account-manager.org/lamcms/lamPro ------------------------------------------------------------------------------ _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
