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

(ITS#5226) ldapadd: invalid format (line 1) entry: ""

Full_Name: Babu Shanmugam
Version: 2.1
OS: windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I am stuck u with this error....ldapadd: invalid format (line 1) entry: ""....

I am not sure which file to change, either init.ldif or slapd.conf. My files
contents looks like below.


database	bdb
suffix "dc=mymozilla,dc=com"
rootdn "cn=Manager,dc=mymozilla,dc=com"
rootpw passmozilla
directory C:/openldap/var/openldap-data
index	objectClass	eq

2. init.ldif : 

dn: dc=mymozilla,dc=com
objectClass: eq
objectClass: organization
objectClass: eq
description: Description of your domain
o: Something else about your domain
dc: mymozilla

When i run this command, ldapadd -x -D "cn=Manager,dc=mymozilla,dc=com" -w
passmozilla -v -f init.ldif , i get the following error

ldap_initialize( <DEFAULT> )
ldapadd: invalid format (line 1) entry: ""

Please let me know how to overcome this.

Babu Shanmugam