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

Re: Error : No such object

What have you put in your slapd.conf as your suffix (base DN)? If the DN
that you are trying to add below is just "o=JNDITutorial" then that would
need to be your suffix.

> From: Mohamed zafer <mzafer@espacetech.com>
> Organization: e Space Technologies
> Date: Mon, 16 Apr 2001 16:45:32 +0530
> To: openldap-software@OpenLDAP.org
> Subject: Error : No such object
> Hi There,
> I am learning JNDI and want to use LDAP for that.. I have installed the LDAP
> server in my machine and created a database according to the instructions
> given
> in the Quick start Guide, appropriatly replacing the <MY_DOMIAN>.
> Now in course of the JNDI tutorial I want to insert the entries given by the
> Sun. The ldif file given by Sun for this is "tutorial.ldif". I used the same
> syntax given in the quick start guide to add the example.ldif, replacing the
> same with tutorial.ldif. The syntax I use and the response I get is
> -------------------------------------------------------------------------
> [root@localhost bin]# ldapadd -f tutorial.ldif -x -D
> "cn=Manager,dc=espacetech,dc=com" -w secret
> adding new entry "o=JNDITutorial"
> ldap_add: No such object
> ldif_record() = 32
> -------------------------------------------------------------------------
> Can anyone help me how to add those entries in the ldap, and also it would be
> nice if  some referral links are provided.
> Mohamed zafer