divya shree wrote:
ldapadd -x -D "cn=Manager,dc=example,dc=net" -W -f example.ldif
For which i am prompted 4 the password enter LDAP password:
When i give the password: secret....i.e., the same as in slapd.conf file... i am getting an error tat says LDAP_BIND: invalid credentials(49)
Since you don't explicitly specify the LDAP server to access with -h or -H I suspect that the LDAP server actually accessed is another server and not the one you believe it should be.
Ciao, Michael.