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

Re: ldap not very helpful



Hi,

On Fri, 17 Oct 2003 09:29:58 -0400 (EDT)
"Kirk A. Turner-Rustin" <ktrustin@owu.edu> wrote:

> > I get the following an error when i try to ldapadd -D
> > "cn=Manager,o=domain-name" -W < test.ldif
> > The error"
> > ldapadd: no attributes to change or add
> > (entry="dc=ldap,dc=domain-name,dc=org       objectClass: top  
> > objectClass: dcObject   objectClass: organization   dc: domain-name 
> >  o:
> > domain-name   description: Full Company Name Domain")
> 
> This is actually a very helpful error message. It's telling you that
> (1) ldapadd cannot discern any attribute lines in your LDIF file, and
> (2) ldapadd is interpreting everything from the first "dn:" to the
> first blank line in your LDIF file as a dn, suggesting to me that
> something may be wrong with the LDIF file...

Maybe it is a dos/unix/mac linefeed conversion problem?

markus
-- 
-----------------------------------------------------------------------
|  ScanPlus GmbH NOC Ulm                       Tel +49 731 92013 106  |
|  Koenigstr. 78 * D 89077 Ulm                 Fax +49 731 92013 290  |
|  http://www.scan-plus.de/                 Amtsgericht Ulm HRB 3220  |
|  mailto:info@scan-plus.de           Geschaeftsf.: Juergen Hoermann  |
-----------------------------------------------------------------------
Diese  E-Mail  koennte  vertrauliche  und/oder  rechtlich   geschuetzte
Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtuemlich erhalten haben, informieren Sie  bitte  sofort
den Absender und vernichten Sie diese  Mail.  Das  unerlaubte  Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. 
-----------------------------------------------------------------------
This e-mail may contain  confidential  and/or  privileged  information.
If you are not the intended recipient (or  have  received  this  e-mail
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution  of  the  material
in this e-mail is strictly forbidden.
-----------------------------------------------------------------------