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

Re: ever-mounting frustration


If I were you I would delete the old database files (in the directory path shown in
slapd.conf), restart slapd with a high log-level (-d flag) and start by using the
ldapmodify.exe tool like:

ldapmodify -a -c -D "cn=root, o=Lerdorf, c=CA" -w secret

and manually add something like:

dn: o=Lerdorf,c=CA
objectclass: top
objectclass: organization
o: Lerdorf

dn: ou=People,o=Lerdorf,c=CA
objectclass: top
objectclass: organizationalunit
ou: People

dn: uid=Gregg,ou=People,o=Lerdorf,c=CA
objectclass: top
objectclass: newPilotPerson
sn: Carrier
cn: Gregg Carrier
mail: barley@pacific.net

and finally search for something similar to:

ldapsearch -b "o=Lerdorf,c=CA" -s base "objectclass=*"

If this doesnt work I think you have other server/config problems.


Mikael Grehn
Systems Engineer