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

RE: ldapadd 2.0.25



Tyler,
The problem in your file was that you had Windows line breaks and it was
confusing ldapadd. Looks like you were editing the file in windows through
samba. I have attached the fixed file. 

-Umesh
  
Quoting Tyler Palmer <tpalmer@cyntergyllc.com>:

> 
> Attached is the people.ldif file I've been playing with. The entries in the
> file add fine individually, but for some reason, the command line mentioned
> previously doesn't process the whole file.
> 
> ==================================================================
> Tyler Palmer          Software Developer, Cyntergy Technology, LLC
> tpalmer@cyntergytechnology.com              (918)877-6000 ext. 366
> GPG Fingerprint: B3E9 D77B 64D7 1783 BA91 036D E4AC 18D0 DB19 4D95
> ==================================================================
> 
> > -----Original Message-----
> > From: Umesha Balasubramaniam [mailto:umeshajb@goshen.edu]
> > Sent: Wednesday, September 11, 2002 4:45 PM
> > To: Tyler Palmer
> > Cc: Openldap (E-mail)
> > Subject: Re: ldapadd 2.0.25
> > 
> > 
> > I think this has to do with extra white space characters 
> > being around the 
> > file. Please post the file if you want a more accurate answer.
> > -Umesh 
> > On Wed, 11 Sep 2002, Tyler Palmer wrote:
> > 
> > > Hiya.
> > > 
> > > I'm executing the following command:
> > > 
> > >    ldapadd -x -c -D "cn=root,dc=mycompany,dc=com" -w 
> > "secret" -f people.ldif
> > > 
> > > The contents of the people.ldif file are user entries 
> > separated by a blank
> > > line. When I execute the above command, only the first 
> > entry is actually
> > > added to the directory. When using the -n and -v flags, it 
> > shows only the
> > > first entry would be added. When I deleted the first entry 
> > in the file, now
> > > the new first entry gets added successfully, but the rest don't.
> > > 
> > > Any pointers as to what I'm doing wrong? I've looked 
> > through the man pages
> > > for ldapadd, but didn't notice anything that said "use this 
> > switch to go
> > > ahead and process the whole file."
> > > 
> > > Thanks.
> > > 
> > > ==================================================================
> > > Tyler Palmer          Software Developer, Cyntergy Technology, LLC
> > > tpalmer@cyntergytechnology.com              (918)877-6000 ext. 366
> > > GPG Fingerprint: B3E9 D77B 64D7 1783 BA91 036D E4AC 18D0 DB19 4D95
> > > ==================================================================
> > > 
> > 
> 
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Attachment: fixed-people.ldif
Description: Binary data