[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Building ldap directory - How?
Hi!
I have tried to build a directory with openldap. After setting up openldap I
created a ldif file:
dn: o=sososo, c=de
o: sososo
sn: SSS
objectclass: organisation
dn: ou=irgendwer, o=sososo, c=de
ou: irgendwer
sn: iw
objectclass: organisationalunit
dn: cn=Thomas Schweikle, ou=irgendwer
cn: Thomas Schweikle
sn: tps
uid: xch4008
mail: tschweikle@fiducia.de
objectclass: person
...
Reading the data with ldapadd gives me:
junifer:/nwh/xch4008 # ldapadd -w secret -c -f tps.ldif \
-d "o=sososo, c=de"
ldapadd: no attributes to change or add
(entry o=sososo, c=de
o: sososo sn: FAG objectclass: organisation)
But the database is definitively empty. All items should be added.
My slapd.conf looks like:
include /etc/openldap/slapd.at.conf
include /etc/openldap/slapd.oc.conf
schemacheck off
pidfile /var/slapd.pid
argsfile /var/slapd.args
database ldbm
suffix "o=FIDUCIA Informationszentrale AG, c=DE"
rootdn "cn=FAG-Manager, o=FIDUCIA Informationszentrale AG, c=DE"
rootpw secret
directory /usr/tmp
I would appreciate any help!
--
Thomas