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

One last problem...



OK ,I

1) learned to add the schema's in slapd.conf
2) add domains and "ou"'s
3) I can add users now of the ldif form:

dn: uid=whitehed,ou=People,dc=oem,dc=doe,dc=gov
uid: whitehed
cn: Donna Whitehead
objectClass: account
objectClass: posixAccount
objectClass: top
userPassword: {crypt}A1xQq9Cz/GdWA
loginShell: /bin/csh
uidNumber: 1009
gidNumber: 100
homeDirectory: /home/whitehed
gecos: Donna Whitehead, ,

All goes in without errors now and the database files, in /var/lib/ldap, seem to grow.

Just one last problem, ldapsearch always returns NOTHING!

I use ldapsearch -v -b 'dc=oem,dc=doe,dc=gov' '(cn=*)' and get the responce:

ldap_init( <default>, 0 )
filter pattern: (cn=*)
returning: ALL
filter is: ((cn=*))
0 matches

What am I doing wrong?

Thanks

Doug P
--