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

installation question



I've finished installing the software and I didn't have any
problems.  I've setted up my myslapd.conf and it looks like this:

include  /usr/local/etc/openldap/slapd.at.conf
include  /usr/local/etc/openldap/slapd.oc.conf
schemacheck off
pidfile     /usr/local/var/slapd.pid
argsfile    /usr/local/var/slapd.args
########################################################
# ldbm database definitions
#######################################################
referral ldap://ldap.itd.umich.edu
database ldbm
suffix "dc=nitro, dc=ca"
directory /usr/local/etc/openldap
rootdn "cn=Katerina, dc=nitro, dc=ca"
rootpw secret

and then I setted my database which is called myldif and it looks
like this:

dn: dc=nitro, dc=ca
dc: nitro
o: Nitrosoftlinux
objectclass: organization
objectclass: dcObject
 
dn: cn=Katerina, dc=nitro, dc=ca
cn: Katerina
sn: Tsarouchas
objectclass: person
 
dn: cn=Jason, dc=nitro, dc=ca
cn: Jason
sn: Grenier
objectclass: person

And then I did the following:

1) ldif2ldbm -f myslapd.conf -i myldif
2) /usr/local/libexec/slapd -f myslapd.conf
3) when I try to search I get an error saying either "object not
found" or "LDAP not running" I'm using version openldap-1.2.10.  Is
there something that I forgot to do?  I'll be much appreciated if you
guys can help me out.  Thanks!

  
-- 
Katerina Tsarouchas
Software Developer
Nitrosoftlinux