dn: uid=kkh0515,ou=Users,dc=mcp2p,dc=hurim,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
uid: kkh0515
ou: Users
cn: kim kwang hee
sn: kim
givenname: kwang hee
위의 ldif를 ldapadd 하면 아래와 같은 에러가 발생합니다.
adding new entry
"uid=kkh0515,ou=Users,dc=mcp2p,dc=hurim,dc=com"
ldapadd: update failed:
uid=kkh0515,ou=Users,dc=mcp2p,dc=hurim,dc=com
ldap_add: Object class violation (65)
additional info: attribute 'uid' not allowed
맞게 한거 같은데 , 머가 잘 못 된 걸까요?
|