[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OPENLDAP Installation
I am facing a peculiar problem while trying to install Openldap server on a
SuSE Linux 6.1 machine. Any help will be highly appreciated.
---------------------------
problem:
---------------------------
I tried to configure by './configure' and followed the instructions in
the 'INSTALL' manual. Everything is going on successfully. Tests in the
Tests directory ( 'cd tests' folled by 'make') does not produce any
error message either.
Then two files 'myldif'(database file) and 'myslapd.conf' are created
and stored in the /usr/tmp and /usr/local/etc/openldap directories
respectively.
------------------------------------------
contents of 'ldif' file :
------------------------------------------
dn: o=adasoft,c=IN
o: adasoft
objectclass: organization
dn: cn=d paul, o=adasoft, c=de
cn: d
sn: paul
mail: d@adasoft.com
objectclass: person
-------------------------------------------
-------------------------------------------
contents of the myslapd.conf file
-------------------------------------------
referral COM_29
database ldbm
suffix "o=adasoft, c=IN"
rootdn "cn=d paul,o=adasoft, c=IN"
rootpw secret
-------------------------------------------
while tried index data in the myldif and run the myslapd.conf by the
commands from root (su):
/usr/local/sbin/ldif2index -i /usr/tmp/myldif -f /usr/local/etc/openldap
error message is : 'no ldbm database found in config file'.
/usr/local/sbin/ldif2ldbm -i /usr/tmp/myldif -f /usr/local/etc/openldap
error message is : 'no ldbm database found in config file'.
Debashis