[Date Prev][Date Next]
Re: Feeling stupid: cannot understand error
François Beretti a écrit :
you MUST provide a structural objectclass, like 'inetOrgPerson' for
example, which turn your example to :
dn: uid=tarkhil, dc=sub, dc=ru
as Buchan said, you must also provide all the attributes required by
inetOrgPerson (or any other objectClass you implement)
[12:37] server:/tmp # ldapadd -D "cn=Manager,dc=sub,dc=ru" -w password
dn: cn=test2, dc=sub, dc=ru
adding new entry "cn=test2, dc=sub, dc=ru"
As far as I understand man ld_errno, in the first example slapd
An object class violation occurred (e.g.,
attribute was missing from the entry).
but I cannot understand what exactly the problem is.
The same setup worked quite well on openldap 2.0...