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

Slurpd: structuralObjectClass: no user modification allowed



Hi!

  I've problem with replication, the version off slapd:
#slapd -V
@(#) $OpenLDAP: slapd 2.2.27 (Nov 28 2005 20:00:50) $

My master config looks:
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/dhcp.schema

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

allow           bind_v2
loglevel        0

backend         bdb
modulepath      /usr/local/libexec/openldap
moduleload      back_bdb.la

database        bdb
suffix          "dc=my,dc=test"
rootdn          "cn=manager,dc=my,dc=test"
rootpw          {SSHA}nGUIX31jfeyJKOl/l6fr5quRwHXARjp7
directory       /var/openldap
cachesize       25000
idlcachesize    100000
checkpoint      64      10

replogfile      /var/openldap/slapd.replog
replica         uri=ldap://192.168.0.82:389
                binddn="cn=manager,dc=my,dc=test"
                bindmethod=simple credentials=XDw6DfPyn09W

index           objectClass     eq
index           dhcpHWAddress   eq
index           dhcpClassData   eq

I tried a lot off access but now I have:

access to * by * write



My slave config:
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/dhcp.schema

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

allow           bind_v2
loglevel        0

backend         bdb
modulepath      /usr/local/libexec/openldap
moduleload      back_bdb.la

database        bdb
suffix          "dc=my,dc=test"
rootdn          "cn=manager,dc=my,dc=test"
rootpw          {SSHA}nGUIX31jfeyJKOl/l6fr5quRwHXARjp7
directory       /var/openldap
cachesize       25000
idlcachesize    100000
checkpoint      64      10

index           objectClass     eq
index           dhcpHWAddress   eq
index           dhcpClassData   eq

I tried a lot off access but now I have:

access to * by * write

When I make some changes in slurpd log is:

ldap_msgfree
Error: ldap_add_s failed adding "structuralObjectClass: no user
modification allowed": cn=replica2,ou=DSA,dc=hdsnet,dc=hu
ldap_err2string
Error: ldap operation failed, data written to
"/var/openldap//replica/192.168.0.82:389.rej"

And in slave log:
send_ldap_result: conn=0 op=2 p=3
send_ldap_result: err=19 matched="" text="structuralObjectClass: no user
modification allowed"
send_ldap_response: msgid=3 tag=105 err=19


  Any oppinion?

  Best Regards
Zoltan Beck