--On Thursday, August 17, 2023 7:25 AM +0530 Kaushal Shriyan <[email protected]> wrote:

# cat mydomain.ldif
dn: dc=corporate,dc=mydomain,dc=in
objectClass: dcObject
objectClass: organization
dc: mydomain
o: mydomain


# ldapadd -f mydomain.ldif -D cn=admin,dc=corporate,dc=mydomain,dc=in -W 

adding new entry "dc=corporate,dc=mydomain,dc=in"
ldap_add: Naming violation (64)
  additional info: value of single-valued naming attribute 'dc'
conflicts with value present in entry

As it stated, "dc: mydomain" does not equal "dc: corporate". Fix the naming value.

--Quanah

Reply via email to