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

Re: problem with replication when adding a new entry

alexela_1999 wrote:
> hi,everybody,
> I configured replication between two servers. but when I adding a new entry,
> slurpd reports an error "Constraint violation". follow the transfering data,
> I found "structuralObjectClass:no user modification allowed" etc. this is
> caused by replogfile when slapd writes replica data to it. slapd writes all
> attributes internal of this new entry such as "structuralObjectclass,
> entryUUID" etc. I remove them from replogfile, and then start slurpd, add
> operation will be successful. anybody has encountered this problem?! is this
> a bug of slapd?!
I am seeing this issue with the 2.1.21-2 redhat rawhidd openldap rpms. I
solved it using the replaca syntax below (note I think there are more
attrs needed but I am adding them as I find them in my reject log)

replica host=secret.my-domain.com:389

May the source be with you! Open Source of course!

http://www.wtfo-guru.com - Cooperative Web Hosting
http://www.cacert.org - Free Security Certificates