Re: N-way multimaster replication problem
Néher Márton <[email protected]> Mon, 26 Apr 2010 15:03:24 +0200
| Newsgroups | gmane.network.openldap.general |
|---|---|
| Message-ID | <[email protected]> |
--0016e65c8d82f0696404852366ab Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Apr 25, 2010 at 7:15 PM, Hugo Monteiro <[email protected]>wr= ote: > On 04/24/2010 11:40 PM, N=E9her M=E1rton wrote: > > Okay, i found the bug. > It was about the olcServerID. > My cn=3Dconfig 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 i= f 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=E1rton N=E9her > > > Hello M=E1rton, > > > If you only have two interfaces, or you have more but you don't mind slap= d > 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. > > Regards, > > 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 woul= d suggest that the matcher could be improved or there should be an emphasis o= n 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=E1rton N=E9her --0016e65c8d82f0696404852366ab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote">On Sun, Apr 25, 2010 at 7:15 PM, Hugo Mo= nteiro <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">hu= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_= quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt = 0pt 0.8ex; padding-left: 1ex;"> =20 <div bgcolor=3D"#ffffff" text=3D"#000000"><div class=3D"im"> On 04/24/2010 11:40 PM, N=E9her M=E1rton wrote: <blockquote type=3D"cite">Okay, i found the bug.<br> It was about the olcServerID.<br> My cn=3Dconfig showed olcServerID: 1 <a>ldap://alpha-int/</a>, olcServerID:= 2 <a>ldap://beta-int/</a>, which is correct.<br> But if I start my openldap as ubuntu says (/usr/sbin/slapd -h <a>ldap://beta-int/</a> <a>ldap://</a><a href=3D"http://127.0.0.1:389/" tar= get=3D"_blank">127.0.0.1:389/</a> 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 <a>ldap://beta-int/</a> paramete= r. But I really need the other two interfaces as well.<br> What can I do now with it?<br> <br> Thanks,<br> BR,<br> M=E1rton N=E9her<br> <br> </blockquote> <br></div> Hello M=E1rton,<br> <br> <br> 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 <a>ldap:///</a> <a>ldaps:///</a> ldapi:///. Since it's an ubuntu machin= e, and i'm assuming it's similar to debian, you should check /etc/default/slapd for those options.<br> <br> Regards,<br> <br> Hugo Monteiro.<br> <br></div></blockquote><div>Hi Hugo,<br><br>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 s= hould use FQDN, it is not even a bug. I would suggest that the matcher coul= d be improved or there should be an emphasis on the FQDNs in the documentat= ion.<br> 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.<br><br>Thank you ve= ry much for your help and suggestions,<br>Best Regards,<br>M=E1rton N=E9her= <br> </div></div><br> --0016e65c8d82f0696404852366ab--