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

RE: Unable to add entries



Dear Sir,

Thanks for the reply. However, there was no other directory installed on the
machine. I downloaded symas binaries and installed them.

Another point to mention here, when I gave the command 'cdsserver start', it
gave me error. So i tried './cdsserver start' and it worked. Same is with
ldapsearch. But later ldapsearch started working in normal fashion.

Surprisingly, dc: myDomain has started working now. I am aware, I am totally
new to ldap though I have enough experience in s/w industry. Please don't
consider the questions as silly. I am posting it after giving try for hours.
I request you to please continue replying generously as you are doing now.
Thank you so much Sir.

Regards
Pravin Joshi




-----Original Message-----
From: Howard Chu [mailto:hyc@highlandsun.com]
Sent: Wednesday, October 09, 2002 06:15
To: Pravin Joshi; openldap-software@OpenLDAP.org
Subject: 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