Issue 1691 - To add a new entry in an unpopulated directory
Summary: To add a new entry in an unpopulated directory
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-26 17:54 UTC by pradeep.puri@bmo.com
Modified: 2004-12-06 01:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pradeep.puri@bmo.com 2002-03-26 17:54:02 UTC
Full_Name: Pradeep Puri
Version: 2.0.23
OS: Solaris 7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.96.168.253)


Hi there :

I have successfully installed openldap 2.0.23 on Solaris 7. But, having problem
adding a new entry in this empty directory.

I am following the documentation and using ldappadd :

 ldapadd -D "cn=Manager, dc=example, dc=com" -w secret -f entries.ldif

and getting following error :
ldap_simple_bind_s: No such object. 

I have checked my Slapd.conf file . It has exactly the same entries as defined
in the documentation.

Please help.

Thanks .

Pradeep

Comment 1 pradeep.puri@bmo.com 2002-03-26 19:31:04 UTC
I have tried with -x option. This option is not recognize by the ldapadd 
command.
# ldapadd -D "cn=Manager, dc=example, dc=com" -w secret -x  
ldapadd: illegal option -- x  
usage: ldapadd [-acnrvFR] [-d debug-level] [-h ldaphost] [-p ldapport] [-D 
bindd
n] [-w passwd] [ -f file | [-l number of ldap connections] < entryfile ]   
 
options:  
  -a            add entries  
  -c            continuous mode  
  -n            show what would be done but don't actually do  
  -r            replace values  
  -v            run in verbose mode (diagnostics to standard output)  
  -F            force application of all changes  
  -R            do not automatically follow referrals  
  -d level      set LDAP debugging level to `level'  
  -h host       ldap server  
  -p port       port on ldap server  
  -D binddn     bind dn  
  -w passwd     bind passwd (for authentication)  
  -M authentication-mechanism   CRAM-MD5  
  -f file       read the entry modification information from file instead 
of fro
m standard input  
  -l nb-connections     number of LDAP connections      

Please advise.

Thanks,
Pradeep






openldap-its@OpenLDAP.org
03/26/2002 12:54 PM

 
        To:     pradeep.puri@bmo.com
        cc: 
        Subject:        Re: To add a new entry in an unpopulated directory  (ITS#1691)



*** THIS IS AN AUTOMATICALLY GENERATED REPLY ***

Thanks for your report to openldap-its@OpenLDAP.org.  Your report
has been placed into our Issue Tracking System and has been assigned
the tracking number ITS#1691.

One of support engineers will look at your report in due course.
Note that this may take some time because our support engineers
are volunteers.  They only work on OpenLDAP when they have spare
time.
If you need to provide additional information in regards to your
issue report, you may do so by replying to this message.  Note that
any mail sent to openldap-its@openldap.org with (ITS#1691)
in the subject will automatically be attached to the issue report.

mailto:openldap-its@openldap.org?subject=(ITS#1691)

You may follow the progress of this message by loading the following
URL in a web browser:
http://www.OpenLDAP.org/its/index.cgi?findid=1691

Please remember to retain your issue tracking number (ITS#1691)
on any further messages you send to us regarding this message.  If
you don't then you'll just waste our time and yours because we
won't be able to properly track the message.

In our experience many people ask questions that have been asked
before.  We recommend that you review our online FAQ:
http://www.OpenLDAP.org/faq/

and search archives of our many mailing lists (such as openldap-software
and openldap-bugs):
http://www.OpenLDAP.org/lists/#archives

--------------
Copyright 2002 The OpenLDAP Foundation, All Rights Reserved.


Comment 2 francoisdeweulf@noos.fr 2002-03-27 19:28:28 UTC
Did you create the initial dcObjects as mentionned in the Chapter #10 of the
OpenLDAP quick start guide (
http://www.openldap.org/doc/admin/quickstart.html) ?

Regards, François

----- Original Message -----
From: <pradeep.puri@bmo.com>
To: <openldap-its@OpenLDAP.org>
Sent: Tuesday, March 26, 2002 6:54 PM
Subject: To add a new entry in an unpopulated directory (ITS#1691)


> Full_Name: Pradeep Puri
> Version: 2.0.23
> OS: Solaris 7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (198.96.168.253)
>
>
> Hi there :
>
> I have successfully installed openldap 2.0.23 on Solaris 7. But, having
problem
> adding a new entry in this empty directory.
>
> I am following the documentation and using ldappadd :
>
>  ldapadd -D "cn=Manager, dc=example, dc=com" -w secret -f entries.ldif
>
> and getting following error :
> ldap_simple_bind_s: No such object.
>
> I have checked my Slapd.conf file . It has exactly the same entries as
defined
> in the documentation.
>
> Please help.
>
> Thanks .
>
> Pradeep
>

Comment 3 Kurt Zeilenga 2002-03-29 23:15:38 UTC
changed state Open to Closed
Comment 4 Howard Chu 2004-12-06 01:28:48 UTC
moved from Incoming to Archive.Incoming