Hi all,

I've read and config'd my ldifs as follows;

option 1;

dn: uid=fbar,ou=People,dc=company,dc=com
uid: foo
sn: Bar
mail: foo@company.com
cn: Foo Bar
objectClass: inetOrgPerson
objectClass: apple-user
objectClass: shadowAccount
objectClass: posixAccount
objectClass: top
uidNumber: 1000
gidNumber: 20
loginShell: /bin/tcsh
homeDirectory: /homes/fbar
apple-user-homeDirectory: /homes/fbar
userPassword:: agbeirrklflhfihverrrknv=


option 2;

dn: cn=Foo Bar,ou=People,dc=company,dc=com
uid: foo
sn: Bar
mail: foo@company.com
cn: Foo Bar
objectClass: inetOrgPerson
objectClass: apple-user
objectClass: shadowAccount
objectClass: posixAccount
objectClass: top
uidNumber: 1000
gidNumber: 20
loginShell: /bin/tcsh
homeDirectory: /homes/fbar
apple-user-homeDirectory: /homes/fbar
userPassword:: agbeirrklflhfihverrrknv=


My OpenLDAP server is used for company white pages and authentication for Linux, OSX clients.

What do you think the most reliable dn value should be; with uid or with cn?

- Brian