[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: LDAP- slapadd doesn't import userPassword field correctly




On Jul 20, 2005, at 1:40 PM, Justin Crabtree wrote:

Jurvis LaSalle wrote:
I'm trying to setup ldap authentication following the chapter in the
RHEL 4 reference guide. I've setup slapd.conf and used the padl
migration scripts to dump /etc/passwd and kin into ldif format. viewing
the passwd.ldif file I dumped, I can see all the right info is there,
specifically UID, home dir and password hash. after slapadd-ing -l
passwd.ldif and then slapcat-ting the result, everything matches except
for the userPassword field. Instead of matching the users hash, the
userPassword field is the same string for all users. What have I done
wrong and how can I fix it? Any clues/ further information that I can
provide?

If you could post your slapd.conf that would help. Trying slapadding with the -v option. This should give you more info about what slapadd is actually doing. Same with slapcat.

--
Justin Crabtree
Java Programmer
Ozarks Technical Community College

I didn't change much, just what was detailed in the reference guide. Leaving out the commented lines my slapd.conf, it looks like this:
--begin--
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema


pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args

database bdb
suffix "dc=turing,dc=bard,dc=edu"
rootdn "cn=root,dc=turing,dc=bard,dc=edu"
rootpw XXXXX

directory /var/lib/ldap

index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
--end--

tia,
JL



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]