[Samba] Organization of Users in Samba4

Christian Hailer Chrissi at amusing.de
Thu Jan 24 00:02:07 MST 2013


Hi Andrew,

you can create the user in another OU if you want:

samba-tool user add User3 passw3rd --userou=OrgUnit

  --userou=USEROU       Alternative location (without domainDN counterpart) to
                        default CN=Users in which new user object will be
                        created

Regards, Christian


-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Andrew Martin
Gesendet: Donnerstag, 24. Januar 2013 00:21
An: samba at lists.samba.org
Betreff: [Samba] Organization of Users in Samba4

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? 

Thanks,

Andrew
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list