Background: I am a newbie to LDAP. I am trying to use OpenLDAP for something. I have the following problem :
*I start my LDAP server by the command
softrock> /usr/sbin/slapd -f /etc/openldap/slapd.conf -d 255
*Now, my /etc/openldap/slapd.conf looks like this include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/redhat/rfc822-MailMember.schema include /etc/openldap/schema/redhat/autofs.schema include /etc/openldap/schema/redhat/kerberosobject.schema database ldbm rootdn "cn=Manager,dc=example,dc=com" rootpw secret directory /var/lib/ldap
*I give this command now !
softrock> ldapadd -v -f tutorial.ldif -x -D "cn=Manager,dc=example,dc=com" -w secret
*I get this error : ldap_initialize( <DEFAULT> ) ldap_bind: Invalid credentials
* Please explaim me why is it giving me "Invalid Credentials" error ?
Thanx in advance for your help !!!
Regards, Akhilesh.
-- ********************************************************** * Never say die unless you are dead ! * * .oooO * * ( ) Oooo. Only those who will risk going too far * * \ ( ( ) Can possibly find out how far one can go!* * _) ) / * * (_/ http://www.it.iitb.ac.in/~akhilesh/ * **********************************************************