[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Unable to add entries
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Pravin Joshi
> IM using OpenLDAP under SunOS, the readymade binaries
> provided by symas.
>
> IM unable to add new entries in the directory. slapd.conf is referring
> (include statement) to core.schema file only. Please see the
> three steps
> that I followed.
> Step NO 2:
> Then I tried to add new entry in server as follows and I got
> the error as
> follows:
>
> Following is stored in the file named 'example.ldif'.
> dn: dc=test3,dc=test2,dc=myDomain,dc=com
> objectclass: dcObject
> objectclass: organization
> o: abcd
> dc: myDomain
This entry is incorrect. It needs "dc: test3" in the entry to match its DN.
> Step NO 3:
> I gave following command and got the output as given below. I
> had supplied
> valid password.
> # ldapadd -a -v -d -1 -D
> "cn=Manager,dc=test3,dc=test2,dc=myDomain,dc=com"
> -f example.ldif
> ldapadd: compile with -DLDAP_DEBUG for debugging
You are not using the Symas binaries. We build with debugging enabled, so our
binaries would never give you this message. Check your path, and/or remove
whatever previous version you had installed.
> Bind Password:
> add objectclass:
> dcObject
> organization
> add o:
> abcd
> add dc:
> myDomain
> adding new entry dc=test3,dc=test2,dc=myDomain,dc=com
> ldap_add_s: Invalid syntax
>
> ******** END of the 3 steps
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support