[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: installation question
Katerina
Use the ldapadd command to input the data from myldif to your
database.
command will be something like this
ldapadd -b -D "cn=katerina,dc=nitro,dc=ca" -W -f myldif
You will be prompted for your password.
You may have to add directory information before ldapadd and
myldif.
Hope this helps
Tony
> 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
----------------------------------------------------------------
Antonin Ch. Novak mailto:Antonin.Novak@cca.cz
Systemovy administrator
Systemova a technicka podpora
CCA spol. s r.o. Web: http://www.cca.cz
Kratka 8,
301 17 Plzen
Czech Republic
Tel: +42 019 7221253
Fax: +42 019 7222931