[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
initialize directory(slapd)
Hi all,
I am a newer to use openldap. I am urgent to run slapd
and use it to add and search my entries.
I install slapd on windows 2000 server. How can I initialize
my database? My slapd.conf about database like this:
database ldbm
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
directory f:/openldap-win32/openldap-ldbm
index objectClass eq
I use test.ldif like this:
dn: dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: Example Company
dc: example
dn: cn=Manager,dc=example,dc=com
objectclass: organizationalRole
cn: Manager
When I ran 'slapadd -d -1 -f slapd.conf -l test.ldif',
it returns:
slapadd: could not parse entry (line=8)
If I cut the last 3 lines,it returns:
slapadd: could not parse entry (line=6)
What's wrong with my LDIF file or my slapd server?
Thanks for directions:)