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

Re: AW: AW: adding first entry



or what about these slapd.oc.conf and slapd.at.conf files?
where should they be? do I need them?
the documentation to openldap is really poor and bad
at least I made everything like descibed there but I´ve still
no single entry in the database...


Tiefnig Daniel wrote:
> 
> hi,
> 
> i've tried what you did, it works for me.. make sure, you have no special
> chars (however..) in your files, and also check for spaces at the end of all
> ldif lines.. (wouldn't cause this error, i guess, but give it a try..)
> 
> daniel
> 
> > but after I´ve changed it and I make this:
> >
> > ldapadd -x -v -D "cn=admin,dc=ecrc,dc=de" -W -f entries.ldif
> >
> > and get this:
> >
> > ldapadd -x -v -D "cn=admin,dc=ecrc,dc=de" -W -f entries.ldif
> >
> > ldap_initialize( <DEFAULT> )
> >
> > Enter LDAP Password: test
> >
> > add objectclass:
> >         dcObject
> >         organization
> > add o:
> >         Cable & Wireless Deutschland GmbH
> > add dc:
> >         ecrc
> > adding new entry "dc=ecrc,dc=de"
> > ldap_add: Invalid syntax
> >         additional info: value contains invalid data
> >
> > ldif_record() = 21
> >
> > here the new content of the entires.ldif
> >
> > dn: dc=ecrc,dc=de
> > objectclass: dcObject
> > objectclass: organization
> > o: Cable & Wireless Deutschland GmbH
> > dc: ecrc
> >
> > dn: cn=admin,dc=ecrc,dc=de
> > objectclass: organizationalRole
> > cn: admin

-- 
Thomas Miskiewicz 				thomas.miskiewicz@de.cw.net      
NMIT						fon: +49 (0) 89/926 99 -196
Cable & Wireless Deutschland GmbH       	fax: +49 (0) 89/926 99 -808
Landsbergerstrasse 155, D-80687 München         web:
http://www.cw.com/de