--On Thursday, November 08, 2007 11:59 PM +0000 babu.shanmugham@gmail.com wrote:
Full_Name: Babu Shanmugam Version: 2.1 OS: windows URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (47.230.0.45)
Hey, 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.
1..slapd.conf.
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
- 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
init.ldif ldap_initialize( <DEFAULT> ) ldapadd: invalid format (line 1) entry: ""
Usage questions should be directed to openldap-software@openldap.org
In answer to your question, your "objectClass" lines are very wrong. There is no objectClass named "eq", and you shouldn't have duplicate objectClass lines.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration