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

slurpd fails to add to replica




Hello, no matter what I try, I cannot get slurpd to add entries to my replica under any other user than root (using openldap-2.2.10)

I have read http://www.openldap.org/lists/openldap-software/200404/msg00685.html and set up a special replication user with the following acl in my slave:
This is the only ACL in the slave

access to *
      by dn.exact="cn=replicator,ou=admins,dc=svt,dc=se" write
      by self write
      by * read

In the master slapd.conf I have

replogfile  /opt/ldap/openldap/var/openldap-slurp/replication.log
replica uri=ldap://<slave>:389
  bindmethod=simple
  binddn="cn=replicator,ou=admins,dc=svt,dc=se"
  credentials=<password>


trying to add a new entry to the slave successfully refers and adds the entry on the master. The replication log is written.

When I start slurpd -d 1 on the master in order to replicate the new entry over to the slave, I get


Error: ldap_add_s failed adding "": uid=testref,ou=externt,dc=svt,dc=se
Error: ldap operation failed, data written to "/opt/ldap/openldap/var/openldap-slurp/replica/<slave>:389.rej"


Updating works fine when I change the replica user to the root user

Any insight is appreciated
thanks
-frank