[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problems with LDAP

I'm having quite a bit of problems with LDAP.  I've done a lot of searching 
and reading through the archives, and I haven't found a solution to the 
This is what I am currently trying: 
ldapadd -x -D "uid=witthuhn,dc=solomon,dc=physics,dc=sc,dc=edu" -f josh.ldif 
Enter LDAP Password:  
ldap_bind: Invalid credentials (49) 
for the password, I am putting in secret(because that is what it is set to in 
the slapd.conf file) 
Here's the slapd.conf file(with all the comments deleted of course): 
include		/usr/local/etc/openldap/schema/core.schema 
include         /usr/local/etc/openldap/schema/cosine.schema 
include         /usr/local/etc/openldap/schema/nis.schema 
pidfile		/usr/local/var/slapd.pid 
argsfile	/usr/local/var/slapd.args 
database	bdb 
suffix		"dc=solomon,dc=physics,dc=sc,dc=edu" 
rootdn		"uid=root,dc=solomon,dc=physics,dc=sc,dc=edu" 
rootpw          secret 
replica         host=nuc003.psc.sc.edu:389 
replogfile      /usr/local/etc/openldap/slapd.replog 
directory	/usr/local/var/openldap-data 
index	objectClass	eq 
Here is josh.ldif: 
dn: uid=witthuhn,dc=solomon,dc=physics,dc=sc,dc=edu 
objectClass: top 
objectClass: account 
objectClass: posixAccount 
uid: witthuhn 
cn: Josh Witthuhn 
uidNumber: 508 
gidNumber: 508 
homeDirectory: /home/witthuhn/ 
userPassword: blah 
loginShell: /bin/bash 
Any help would be very appreciated with this. 
Yossef Korang