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

Re: N-way multimaster replication problem

On Sun, Apr 25, 2010 at 7:15 PM, Hugo Monteiro <hugo.monteiro@fct.unl.pt> wrote:
On 04/24/2010 11:40 PM, Néher Márton wrote:
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?

Márton Néher

Hello Márton,

If you only have two interfaces, or you have more but you don't mind slapd to listen on those too, you can always specify the urls like ldap:/// ldaps:/// ldapi:///. Since it's an ubuntu machine, and i'm assuming it's similar to debian, you should check /etc/default/slapd for those options.


Hugo Monteiro.

Hi Hugo,

Actually the use of FQDN solved the problem, I only tried to suggest that there might be some issues with the serverID ~ argv matcher. Actually since the documentation says that I should use FQDN, it is not even a bug. I would suggest that the matcher could be improved or there should be an emphasis on the FQDNs in the documentation.
The URLs could be a work-around, but I don't want to bother with ldaps in a test-environment. Anyway, It is working now at me.

Thank you very much for your help and suggestions,
Best Regards,
Márton Néher