Phil Dibowitz wrote:
The person objectclass doesn't allow the uid attribute. You need to add an objectclass that allows it (such as inetorgperson).Luca Scamoni wrote:
dn: cn=Phil Dibowitz,ou=User,c=US objectclass: person cn: Phil Dibowitz sn: Dibowitz uid: 505 uid: phil -------------------------------------
[snip]
You are telling ldap to create an entry under a root it doesn't have. The root is o=example.com,c=US (you defined it in the first entry) so stick to it:
dn: cn=Phil Dibowitz,ou=User,o=example.com,c=US
Good call. Now I get:
slapadd: dn="cn=Phil Dibowitz,ou=User,o=example.com,c=US" (line=18): attribute 'uid' not allowed
Why is UID not allowed? I've even tried it with just one UID, and it still doesn't work.