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

Re: LDAPADD Problem



Where is the logfile located?  I've been running ldapadd with the debug
switch but I don't see anything that tells me what's going on.

----- Original Message -----
From: "Dave Lewney" <D.M.Lewney@sussex.ac.uk>
To: "Daniel Holden" <dholden@idsb.net>
Cc: <openldap-software@OpenLDAP.org>
Sent: Monday, February 04, 2002 1:43 AM
Subject: Re: LDAPADD Problem


> Daniel Holden wrote:
> >
> > I'm running Redhat 7.2 and openLDAP 2.0.18.  I have a functioning LDAP
> > server.  I can query it from Outlook, Outlook Express and Netscape Mail.
I
> > can add single entries via a web interface.  The problem is when I use
> > ldapadd at the command line to have openLDAP read a LDIF file with
multiple
> > entries only the first entry is added.  Below is the ldif and I'm hoping
> > someone can point me in the right direction.
> >
> > dn: cn=User1,dc=example,dc=com
> > objectclass: inetorgperson
> > objectclass: organizationalRole
> > cn: User1
> > sn: User1
> > mail: User1@example.com
> > homePhone: 1-999-567-1234
> > pager: 1-999-567-1212
> >
> > dn: cn=User2,dc=example,dc=com
> > objectclass: inetorgperson
> > objectclass: organizationalRole
> > cn: User2
> > sn: User2
> > mail: User2@example.com
> > homePhone: 1-999-567-1212
> > pager: 1-999-567-1234
> >
> > Thank you
> >
> > Daniel Holden
> > dholden@idsb.net
> > http://www.idsb.net
>
> Have a look in the log to see what error code was returned for the
> second add.
> --
> Dave
> --
> Dave Lewney
> Principal Systems Programmer, Computing Service
> University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273
> 271956
>