[Date Prev][Date Next]
Re: ldapmodify error
Ok, I am using openldap 2.2.20 on both machines. My production server is Solaris 8, while my backup machine is redhat linux 8. I am not really using some kind of sophisticated replication scheme, but simply this is what I have done.
I have added replog attribute in the slapd.conf of my backup machine. I switch off my production for maintainance, and swithc the backup on. AS it has replog enabled it starts creating logs of the events, After maintainance activity I ftp the replog to production and use ldapmodify to apply those logs on production.
ldapmodify script which I am using is :
-d 7 \
-v -x -W -D "cn=nsadmin" -h hostname -p 389 -f /main/backup replog.
And when I run the script the error I get is
ldap_modify: Constraint violation (19)
additional info: entryCSN: no user modification allowed
IF I edit my replog and remove all the stuff like
lastModifiedTime: 2008-03-24 12:27
and only keep what exactly was done, the script is able to apply that ldif to the production.
I had been doing it before and I am not sure now what is going wrong which is creating this problem.
I'll appreciate any pointer.
On Sat, Mar 22, 2008 at 6:07 AM, Michael Ströder <firstname.lastname@example.org
Naufal Sheikh wrote:Can you please elaborate on which version of OpenLDAP you're running and
> I have openlldap running on one box with replog enabled.
which replication scheme you configured? Ideally by providing the slapd.conf.
What exactly are you doing? If you don't provide enough of the relevant
> I am trying to
> propagate the generated replog on the production and when using the
> ldapmodify command I get the following:
> ldap_modify: Constraint violation (19)
> additional info: entryCSN: no user modification allowed
information nobody can help.