[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: user limitations

"A.Gayathri" wrote:
> Hi all,
>         Is there any limitation on the username length and rootdn length  and password length?

Depends on many factors, including version and meaning.
When reading input there shouldn't be any limitation;
however, (talking about HEAD code) DNs are limited to 
8192 bytes (hardcoded).  Passwords are usually limited
by the underlying encoding mechanism; UNIX crypt 
considers 8 chars (the rest is silently ignored); other
encryptions use longer strings.  If by username you mean
the "uid" value used for UNIX auth, then on older systems 
it is limited to 8 chars; user names in LDAP sense, e.g.
DNs, are limited to 8192 chars.


Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
via La Masa 34, 20156 Milano, Italy   |