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

Re: Constraint violation: structuralObjectClass: no user modification allow



Hi,

openldap a écrit :
> Hi listers,
> 
> i have a master LDAP with version openldap-servers-2.3.39-1.fc8,
> a slave LDAP with version openldap-servers-2.3.34-0.fc7
> a slave LDAP with version openldap-server-2.3.33p1-bdb
> 
> the versions are close enough to one another in order to be compatible.
> 
> the first two are on fedore 8 and fedora 7, the third on openBSD. from
> the master to the two slaves, slurpd replication is installed.
> 
> as the slurpd replication will no longer be available, i started testing
> syncrepl from the third LDAP server onto a fourth one. i wanted to test,
> if i can configure them for refreshAndPersist replication.
> to do that i  first configured the third to act as a syncrepl provider
> for the fourth one and then added a new entry in a test subtree on the
> master server.
> 
> the following happened: the second server immediately got the changes
> via slurpd and accepted them.
> the third server also got the changes but rejected them:
> Mar 14 13:33:33 thirdhost slapd[18518]: conn=6 fd=20 ACCEPT from
> IP=xx.xx.xx.xx:45565 (IP=0.0.0.0:3
> 89)
> Mar 14 13:33:33 thirdhost slapd[18518]: conn=6 op=0 BIND
> dn="cn=manager,dc=mydom,dc=com" method=128
> Mar 14 13:33:33 thirdhost slapd[18518]: conn=6 op=0 BIND
> dn="cn=Manager,dc=mydom,dc=com" mech=SIMPLE ssf
> =0
> Mar 14 13:33:33 thirdhost slapd[18518]: conn=6 op=0 RESULT tag=97 err=0
> text=
> Mar 14 13:33:33 thirdhost slapd[18518]: conn=6 op=1 ADD
> dn="cn=wurguri,ou=LDIF-Test,dc=mydom,dc=com"
> Mar 14 13:33:33 thirdhost slapd[18518]: conn=6 op=1 RESULT tag=105
> err=19 text=structuralObjectClass: n
> o user modification allowed
> 
> what do i need to change either on the master, not to let it create ldif
> files which are unaceptable for the other(s), or on the slave to make it
> accept the structuralObjectClass specs?

It sounds like your third server isn't recognizing the update as a
replication. Do you still have the updatedn parameter set in your
slapd.conf on the third server?

If this doesn't solve the problem, please post your slapd.conf files for
each server (removing IP adresses and passwords if necessary).

Regards,
Jonathan

-- 
Jonathan Clarke

Cellule OSSA - Groupe LINAGORA
27 rue de Berri, 75008 Paris
Tél: 01 58 18 68 28, fax: 01 58 18 68 29
http://www.linagora.com - http://www.08000linux.com