[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Newbie question
Hi, More info on my LDAP saga
I decided to redo my LDAP config from scratch and with a simple
config file
----------------------------------------------------------------------
include /usr/local/site/etc/ldap/slapd.at.conf
include /usr/local/site/etc/ldap/slapd.oc.conf
schemacheck off
#referral ldap://ldap.itd.umich.edu
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "o=OB, c=HK"
defaultaccess write
directory /usr/local/site/data
#rootdn "cn=root, o=OB, c=HK"
#rootpw secret
----------------------------------------------------------------------
I then created a simple ldiffile => testldif
dn: id=foo, o=OB, c=HK
id: foo
objectclass: puser
Now, the following commands
ldif2ldbm -i testldif
slapd -p 9000
ldapsearch -h localhost -p 9000 'objectclass=*'
ldap_search: Partial results and referral received
However, with ldbmtest
dbtest: te
key: 1
data length: 54
data:
1
dn: id=foo, o=OB, c=HK
id: foo
objectclass: puser
When I started working with the server yesterday, a similar search was
successful and it seems to fail today. ldbmtest seems to indicate that
everything is okay. Any place I might have goofed up
Server is OpenLdap-1.0.2 on a Redhat 5.1 box
Cheers, Yusuf
--
Yusuf Goolamabbas
yusufg@huge.net