[Samba] what is the limit max. characters of group names?

Meike Stone meike.stone at googlemail.com
Thu Nov 6 08:45:08 MST 2014


Hello,

I've running a samba server:

---------
* Samba 3.6.3
* using LDAP for users an groups

part. of config:
----------

        workgroup = Samba
        security = user

        ldap admin dn = uid=samba_user,cn=admin,o=company,c=net
        passdb backend = ldapsam:ldap://ldap01.company.net
        ldap suffix = cn=users,o=company,c=net
        ldap user suffix = cn=accounts
        ldap group suffix = cn=groups
        ldap passwd sync = No

The server is running well.

But my Question is:
Where are limits regarding the length of group names.
What  is the max. length, that samba supports?
AFIK, MS Windows (AD) will support a maximum of 64 characters.
Does anyone know if (or better where) there are limits of the underlying layers?
- kernel
- libraries (libc, ...)
- nss
- nscd
I've tried to find any reliable informations, but I've found mostly
only old informations.
Some says 32 characters, but I tried to use longer names with ldap and
samba, it works.
What max. length is a good value, where I'm on the "safe side"?

Thanks Meike


More information about the samba mailing list