[Samba] LDAP backend replication?

Jakov Sosic jakov.sosic at srce.hr
Wed Feb 10 08:44:21 MST 2010

On 02/10/2010 12:34 PM, Adam Tauno Williams wrote:

> That won't work.  But you can get OpenLDAP 2.4 packages from
> <http://staff.telkomsa.net/packages/rhel5/openldap/i386/> for
> CentOS/RHEL.

Well, I've found a solution that works. It seems that I've been missing
two entries: a logbase and logfilter declarations. After I added them,
replication works like a charm.

But, second problem arose. I have different ldap bind dn's for replica
and for master. When I want to add Windows machine to the domain, I get
the following error:

[2010/02/10 16:10:02, 5] lib/smbldap.c:rebindproc_connect_with_state(855)
  rebindproc_connect_with_state: Rebinding to
ldap://MASTER_IP_ADDR/sambaDomainName=DOMAIN,dc=company,dc=com as

[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 that "uid=root,ou=people,dc=zimbra,dc=company,dc=com"
is not a correct bind DN in master LDAP, and master LDAP's DN is not
root on slave. Is there a way to correct this issue? Any ideas?

Thank you!

|    Jakov Sosic    |    ICQ: 28410271    |   PGP: 0x965CAE2D   |
| start fighting cancer -> http://www.worldcommunitygrid.org/   |

More information about the samba mailing list