[Samba] Organization of Users in Samba4

Matthieu Patou mat at samba.org
Thu Jan 24 00:22:53 MST 2013

On 01/23/2013 03:20 PM, Andrew Martin wrote:
> Hello,
> I am working on migrating from OpenLDAP using the inetOrgPerson schema to Samba4. I would like to continue to provide backwards compatibility with our existing authentication service. In OpenLDAP, users are all contained inside the People organizational unit and referenced by uid, for example:
> dn: uid=myuser,ou=People,dc=example,dc=com
> When using samba-tool to add a user, it places the user inside of the Users cn, and references the user via its cn entry rather than via uid:
> dn: cn=myuser,cn=Users,dc=example,dc=com
> Is there any Samba4 or AD reason why I need to use cn=myuser,cn=Users,dc=example,dc=com for users, or can I import them to uid=username,ou=People,dc=example,dc=com and use this organizational structure instead?
You can import them in an OU called People but they will have the rdn CN 
not UID, why is it like that is because we have to be compatible with 
the other AD implementation.


Matthieu Patou
Samba Team

More information about the samba mailing list