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

dn2id could not open dn2id.gdbm



Thanks for you reply.

Last few day, I was trying to add new entry. I am getting lot of error.
My slapd.conf file.
#######################################################################
# ldbm database definitions
#######################################################################
database	ldbm
suffix		"dc=percipia,dc=com"
rootdn		"cn=Manager,dc=percipia,dc=com"
rootpw		secret
directory	/usr/local/var/openldap-ldbm
index cn,sn,uid pres,eq,sub
index objectclass eq  

my new file  content:
dc=percipia,dc=com
objectClass=organization
 cn=Manager, dc=percipia, dc=com
objectClass=organizationalRole
cn=Postmaster

I am using the following command to add new enty
ldapadd -f new -D "cn=Manager,dc=percipia,dc=com" -w secret
It is giving error message
ldapadd.exe: invalid format (line 1) entry: ""
ldif_record() = 89

Server side I am getting this error message:
<= dn2id could not open dn2id.gdbm
<= dn2id could not open dn2id.gdbm
ber_flush: 14 bytes to sd 512
deferring operation

Any idea, what I am doing wrong here??
Thanks
-SR