[Samba] Samba and LDAP Replication

Florian Zierer
2007-03-15T14:59:45Z

Hi all,

i have some problems with the ldap replication of the samba database.

I have a samba installation with one PDC and one BDC. Both have their
local running openldap server.

The Ldap on the PDC should be the Master LDAP and the one on the BDC the
slave.

Replication works with slurpd from the master to the slave.

The BDC should access the ldap database on the local server.

passdb backend = ldapsam:ldap://127.0.0.1/

The local server should pass the write operations to the master ldap and
get the update through the slurpd replication process.


The smbldap-tools work on the BDC as expected. With smbldap-usermod the
changes are published to the master and the slave ldap (smbldap-tools
has its own configuration for master and slave ldap server)
but an smbpasswd on the slave changes only the passwd on the slave ldap.

I have the
updateref ...
in the slave ldap config.


So
Master -> Slave replication works
but write access to the slave does not get passed to the master.

Does anybody know where the problem could be?

Thanks
Flo