[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
what the...?
the postmaster suggested posting here instead of openladp-general, so here
goes...
I think I'm missing one crutial part of the whole LDAP experience... I
cannot understand why I can't find anyone in my directory!
slapd.conf:
include /usr/local/etc/openldap/slapd.at.conf
include /usr/local/etc/openldap/slapd.oc.conf
schemacheck off
#referral ldap://ldap.itd.umich.edu
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix 'dc=benshaw,dc=com'
directory /root/argh
rootdn "cn=root,dc=benshaw,dc=com"
rootpw secret
and my ldif file that I'd imported (ldif2ldbm -i my.ldif) :
dn: mail=akohlsmith@benshaw.com, dc=benshaw, dc=com
Objectclass: top
objectClass: person
locality: Listowel
cn: Andrew Kohlsmith
cn: Andrew
sn: Kohlsmith
dn: mail=bvines@bensahw.com, dc=benshaw, dc=com
Objectclass: top
Objectclass: person
cn: Brian Vines
cn: Brian
sn: Vines
locality: Palmerston
dn: mail=rvines@benshaw.com, dc=benshaw, dc=com
Objectclass: top
Objectclass: person
cn: Ronald Vines
cn: Ron Vines
cn: Ron
cn: Ronald
sn: Vines
locality: Kurtzville
and finally, the search command:
$ldapsearch -b 'dc=benshaw,dc=com' 'objectclass=*'
ldap_search: No such object
someone... please tell me what I did wrong? ldbmcat shows those three
entries. I *know* they are there!
Andrew