Where's your suffix entry in slapd.conf?
- Mayank
-----Original Message----- From: linuxers-bounces@mm.ilug-bom.org.in [mailto:linuxers-bounces@mm.ilug-bom.org.in] On Behalf Of Akhilesh Suresh Shirbhate Sent: Thursday, October 02, 2003 4:22 AM To: GNU/Linux Users Group, Mumbai, India Subject: [ILUG-BOM]LDAP Problem :((
Next LUG meet: 11 Oct 2003 around 4 pm - VJTI Mech Dept
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/ *