dn: o=Bara,c=kr
objectClass: organization
o: Bara
dn: cn=Manager,o=Bara,c=kr
objectClass: top
cn: Manager
위와 같이 한번 바꿔보세요..country name은 해주실 필요가 없을 듯
안되시면 다시 한번 올려주세요...
>>노대성 님께서 쓰시길<<
:: 왜 안되는지 모르겠습니다. 도와 주세요...
:: 급합니다. 부탁드립니다.
::
::
:: -- slapd.conf--
:: database ldbm
:: suffix "o=Bara,c=kr"
:: rootdn "cn=Manager,o=Bara,c=kr"
:: rootpw secret
:: directory /usr/local/ldap/var/openldap-ldbm
:: index objectClass eq
:: schemacheck on
::
:: -- Ldap add --
:: ./ldapadd -D "cn=Manager,o=Bara,c=KR" -w secret -f init.ldif
::
:: -- init.ldif --
::
:: dn: o=Bara,c=kr
:: objectClass: organization
:: objectClass: country
:: o: Bara
:: c: kr
::
:: dn: cn=Manager,o=Bara,c=kr
:: objectClass: top
:: cn: Manager
::
:: ===== error Message ========
:: adding new entry "cn=Manager,o=Bara,c=kr"
:: ldap_add: Object class violation
:: additional info: attribute not allowed
::
:: ============================
::
::
::
::
::
::
::
|