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

Re: Fw: ldap_add: Operations error



Hi,

 do not consider as dcgnfcinfotower pl. consider it as dc=gnfcinfotower and
same for all entries which including = sign.

suhag.

----- Original Message -----
From: "Pierangelo Masarati" <ando@sys-net.it>
To: <postmaster@gnvfc.net>
Cc: <openLDAP-software@OpenLDAP.org>
Sent: Wednesday, May 05, 2004 8:12 PM
Subject: Re: Fw: ldap_add: Operations error


>
> > This is a multi-part message in MIME format.
> >
> > Hellooo,
> >
> > I have installed openldap 2-1.2.13-5 throug rpm with linux 8.0.
>
> openldap 2-1.2.13-5 does not exist (nor it is a valid version number)
> never heard of linux 8.0.
>
> > Now when i tried to add the user through through below command
> > [root@test openldap]# ldapadd -x -D "cnroot,dcgnfcinfotower,dccom" -w
> > secret -f /tmp/user.ldif
> >
> > i got the error like below
> > adding new entry "dcgnfcinfotower,dccom"
> > ldap_add: Operations error
> > ldif_record()  1
> >
> > my /tmp/user.ldif file is
> >
> > dn: dcgnfcinfotower,dccom
> > ou: mail
> > objectClass: top
> > objectClass: organizationalUnit
> >
> >
> > How can i run the ldapadd command successfully.....
>
> This entry is invalid for many reasons;
> since it appears this is the first entry
> you're adding to your database, and the
> errors you're running into are of the most
> obvious, please read the Admin guide
> for more details on how to configure and
> feed a database.  In detail, you shoudl
> follow the quick startup guide step by step
> before reporting further errors to the list.
>
> p.
>
> --
> Pierangelo Masarati
> mailto:pierangelo.masarati@sys-net.it
>
>
>
>
>     SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
>
>