[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapadd says "no such object"
Yup. did that.. I finally figured out I need to ... where did I miss it in the
docs? Which page / document?
my ldif2ldbm file has
dn: c=us
objectClass: top
cn: common name for c=us
dn: c=us, o=org
objectClass: top
cn: common name for c=us, o=org
dn: c=us, o=org, ou=dev
objectClass: top
cn: common name for c=us, o=org, ou=dev
dn: c=us, o=org, ou=dev, cn=admin
objectClass: top
cn: common name for c=us, o=org, ou=dev, cn=admin
this last dn is the same as the rootdn
the rootpw is xxx
ldif2ldbm seems to work w/o erorr.. I get adding / indexing msg ok
Shawn Rutledge wrote:
> Did you create a database first? Are there several .dbb files in /var/ldap
> or wherever you keep them? If not then you need to start with an ldif file
> first, and run ldif2dbm, as explained in the "Getting Started" section of
> the slapd administrator's guide. "No such object" probably just means your
> top-level entries, that you are trying to add new data underneath, are not
> there.
>
> > -----Original Message-----
> > From: owner-openldap-general@OpenLDAP.org
> > [mailto:owner-openldap-general@OpenLDAP.org]On Behalf Of Hanasaki
> > Sent: Thursday, April 29, 1999 3:22 PM
> > To: openldap-general@OpenLDAP.org
> > Subject: ldapadd says "no such object"
> >
> >
> > I have setup opendap.org's current version as of 4/20/1999. the
> > platform is a sun box with the current version of SunOS. I dont have
> > the exacte ver number.
> >
> > All seems well until I try
> >
> > ldapadd -f entry
> >
> > entry is a file with basically the same information as the example in
> > the man pages. The only changes I have made are to the suffix and
> > rootdn. The rootdn is the same as the suffix with the addition of a
> > cn: blah entry.
> >
> > ldapadd comes back with "No such object".
> >
> > can anyone provide input?
> >
> > TIA
> >