On Thu, Aug 17, 2023 at 9:41 AM Quanah Gibson-Mount <quanah@fast-mail.org> wrote:


--On Thursday, August 17, 2023 7:25 AM +0530 Kaushal Shriyan
<kaushalshriyan@gmail.com> 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


Thanks Quanah for the quick email response. It worked like a charm. Much appreciated for guiding me. Thanks once again.

Best Regards,

Kaushal