OK, I know it is not supported, but I am asking for a advice for my kind of setup. I am using Zimbra because it can be integrated with all other kind of software.
I've solved this issue, by changing my config to:
Note the logbase and logfilter enteries, they were the initial problem.
# syncrepl directives
# Refer updates to the master
Also, now I have another issue with Samba. I have this in my log:
Machines can't join domain, I get "Access denied" error in Windows.
[2010/02/10 16:10:02, 5] lib/smbldap.c:rebindproc_connect_with_state(855)
rebindproc_connect_with_state: Rebinding to ldap://IP_ADDR/sambaDomainName=DOMAIN,dc=company,dc=com as "uid=root,ou=people,dc=zimbra,dc=company,dc=com"
[2010/02/10 16:10:02, 3] passdb/passdb.c:samu_set_unix_internal(217)
Could not allocate a new RID
I guess problem is the user I'm binding samba to slave LDAP with. Slave LDAP correctly points Samba to master LDAP when samba is to issue an update, but I guess samba uses the same ldap bind dn for both LDAP's, and I have different ones.
Question is, how to give some LDAP user, for example "uid=root,ou=people,dc=zimbra,dc=company,dc=co m" administration privileges on Zimbra ldap?