I am new to LDAP. I just installed openldap software on two linux machines. Both machines have the same setup and slapd.conf. One works well, but another can't accept my command ldapadd.
My command was: ldapadd -D "cn=root, o=test, c=US" -W -v <test.ldif
adding new entry cn=Mary, o=test, c=US
ldap_add: No such object
Can anyone help me to solve this problem. Thanks.