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

Re: N-way multimaster replication problem

Actually I solved the problem meanwhile by using FQDNs (altough i don't really see why is it important on a local-network) and trailing slashes just as you have suggested.

The version is exactly:
$ slapd -VV
@(#) $OpenLDAP: slapd 2.4.21 (Apr 15 2010 11:38:12) $

2010/4/25 Jonathan Clarke <jonathan@phillipoux.net>

Le 25/04/2010 00:40, Néher Márton a écrit :
Okay, i found the bug.
It was about the olcServerID.
My cn=config showed olcServerID: 1 ldap://alpha-int/, olcServerID: 2
ldap://beta-int/, which is correct.
But if I start my openldap as ubuntu says (/usr/sbin/slapd -h
ldap://beta-int/ ldap:// <> ldapi:///

-g openldap -u openldap -F /etc/ldap/slapd.d/), it does not recognise
that he is beta-int. Only if I start it with only the ldap://beta-int/
parameter. But I really need the other two interfaces as well.
What can I do now with it?

What version of OpenLDAP are you using?

A bug similar to this was corrected in 2.4.18:

If you're using an older version, this should still work fine so long as the URL in the -h option to slapd exactly matched the URL in serverID (make sure the all slashes are present, etc).

Preferably, use the latest release, though, to avoid other such bugs now fixed :)


2010/4/24 Néher Márton <neher.marton@gmail.com


   I have just set up openldap on two nodes (alpha, beta). I am using
   openldap for a passdb backend for samba.
   I followed this guide:

   To a point, everything seems to work just fine, the cn=config
   replication works both ways.
   After deleting everything from my base, I run smbldap-populate on
   the node alpha.
   It creates the default users, groups pretty fine, but it failed to
   replicat to node beta.

   the log entries shows this on alpha:

   on the other node the log shows this on beta:

   My configuration looks the following:




   I have the olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
   and olcOverlay={0}syncprov,olcDatabase={1}hdb,cn=config set to
   olcOverlay: {0}syncprov

   I have nothing in slapd.conf
   Do you know where to search this problem? What other logs should i
   attach to figure it out?

   Have a nice day,
   Best Regards,
   Marton, Neher

Jonathan Clarke - jonathan@phillipoux.net
Ldap Synchronization Connector (LSC) - http://lsc-project.org