[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: AW: adding first entry
Hello Daniel!
I don´t care about ACL at the moment, I wnat just get this thing
running.
I want only to put the first entry into the database first.
The problem I described here seems to be the typo here:
ldapadd -x -v -D "cn=admin,dc=ecrc,de=de" -W -f entries.ldif
^^^
instead of dc=de
and one in the slapd.conf file:
by dn="cn=admin,dc=ecrc,de=de" write
^^^^
instead of dc=de
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
what is wrong here???
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
Thanks in advance for help!
Regards
Tom