[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
AW: AW: AW: adding first entry
hi,
what version of openldap do you use? slapd.oc.conf and slapd.at.conf are
part of openldap1.2.X configuration. but you wrote, you are using ldapadd
with '-x' flag.. what on the other side is only valid for openldap2.0.X
package.. make sure not to mess up two different packages..
openldap dokumentation isn't that bad at all, i'd say.. (there are much
worse, like diablo.. ;o) )
at http://www.openldap.org/doc/admin is a pretty good administration guide.
(allthought, i hope you know that.. :) )
regards
daniel
> -----Ursprüngliche Nachricht-----
> Von: Thomas Miskiewicz [mailto:thomas.miskiewicz@de.cw.net]
> Gesendet: Donnerstag, 15. Februar 2001 17:40
> An: Tiefnig Daniel
> Cc: 'openldap-software@openldap.org'
> Betreff: 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
>