Hello,

I'm currently setting up a OpenBSD-based server with OpenLDAP.
I found out that slapd crashed when I try to insert a new entry, which has 
non-compatible objectClasses.

Slapd.conf:
include     /etc/openldap/schema/core.schema
include     /etc/openldap/schema/cosine.schema
include     /etc/openldap/schema/nis.schema
include     /etc/openldap/schema/inetorgperson.schema
schemacheck on
loglevel -1
moduleload  back_ldbm.la
backend     ldbm
database    ldbm
suffix      "dc=example,dc=com "
rootdn      "cn=Manager,dc=example,dc=com"
rootpw      {SSHA}j5oDwUaC+GRg2hyRJ/JgoxlYyXMoC8EE
directory   /var/openldap/example.com
mode        0700
index   objectClass eq
index   uid eq
index   uidNumber eq
access to attrs=userPassword
 by self write
 by anonymous auth
access to attrs=cn,telephoneNumber,sn
 by self write
access to *
 by users read

The  log-message on which the server fails is:
entry failed op attrs add: invalid structural object class chain 
(account/person) (65)

I can try to prevent this crash by making sure that all inserts go by a scripts 
and excluding non-authorized users from the server,
but I hope you can help me solve this problem.

I'm still fairly new to OpenBSD, so I hope I gave you all the information you 
need.
Else I'm willing to give you additional information where needed.

Sincerely,

Martijn van Duren
________________________________
Martijn van Duren

Oude Oeverstraat 120

Postbus 228

m.vandu...@twodare.nl<mailto:r.be...@twodare.nl>

6811 JZ  Arnhem

6800 AE  Arnhem






[http://www.twodare.nl/assets/images/mail_logo.jpg]

026 - 20 20 230

i...@twodare.nl<mailto:i...@twodare.nl>



www.twodare.nl<http://www.twodare.nl>





________________________________
Disclaimer: Dit bericht is uitsluitend bestemd voor de (rechts)persoon aan 
welke het is gericht.
Het kan vertrouwelijke of alleen voor deze bestemde informatie bevatten, die 
niet mag worden
geopenbaard. Als dit bericht niet voor u bestemd is, mag u de ontvangen 
informatie niet lezen,
gebruiken, verspreiden of kopiƫren. Als u dit bericht abusievelijk hebt 
ontvangen, gelieve u het
te verwijderen en contact op te nemen met de afzender.


<<inline: image001.jpg>>

Reply via email to