[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: N-way multimaster replication problem
- To: openldap-software@openldap.org
- Subject: Re: N-way multimaster replication problem
- From: Néher Márton <neher.marton@gmail.com>
- Date: Sun, 25 Apr 2010 00:40:56 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Y6ZeIGzHpFBJhRGYkFVQ5Y4mBqH1Z8Oz9sxXM/e5wso=; b=rhEdoWTD96bfobRGWw3ocaGPz1bm9hVOEd+PuAJ9QEaQYbwtCgq6bLReD9atOovAsZ vByXodeHL27NSfPaxTYmUBpQr9Sp8bZxkEOXBWmCxFEaQUh4BDSY1Wc5KC8zjfRjQjOJ 32OYmhpksKmlfuVa3Mu4SMxtnebBj4FzBPYOo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IjzfPcMOzUHC+lQYALZYw6OQ1ZpLTfBcnpd51Nypy7AIgGIsXFRM86g4nH3EBXBUGj ypyrJ/F/+Ykz0FxLMwLElDD0oIrRMR9Br/Th8Tl/cW2oU+lY6bPdOMfmmaFdVrNKf3XB 82NLTwIZY51nkYelMGerW/GnfHDNLU1aButg8=
- In-reply-to: <j2qd426f0d61004240541k30fe54cfpb44ae0bcba6b88cf@mail.gmail.com>
- References: <j2qd426f0d61004240541k30fe54cfpb44ae0bcba6b88cf@mail.gmail.com>
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://127.0.0.1:389/ 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?
Thanks,
BR,
Márton Néher
2010/4/24 Néher Márton
<neher.marton@gmail.com>
Hi,
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: http://www.openldap.org/doc/admin24/replication.html#N-Way%20Multi-Master
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:
http://pastebin.com/Ykhvq4BY
on the other node the log shows this on beta:
http://pastebin.com/KNwgHQDW
My configuration looks the following:
cn=config:
http://pastebin.com/mT5A4K5i
olcDatabase={0}config,cn=config:
http://pastebin.com/kwBNEaeV
olcDatabase={0}hdb,cn=config:
http://pastebin.com/FsPaKK90
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