Re: N-way multimaster replication problem

Hugo Monteiro <[email protected]> Sun, 25 Apr 2010 18:15:33 +0100
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------030803070505040006000906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by boole.openldap.org id o3Q1pnvO064960

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=20
> ldap://beta-int/, which is correct.
> But if I start my openldap as ubuntu says (/usr/sbin/slapd -h=20
> ldap://beta-int/ ldap://127.0.0.1:389/ <http://127.0.0.1:389/>=20
> ldapi:/// -g openldap -u openldap -F /etc/ldap/slapd.d/), it does not=20
> recognise that he is beta-int. Only if I start it with only the=20
> ldap://beta-int/ parameter. But I really need the other two interfaces=20
> 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=20
slapd to listen on those too, you can always specify the urls like=20
ldap:/// ldaps:/// ldapi:///. Since it's an ubuntu machine, and i'm=20
assuming it's similar to debian, you should check /etc/default/slapd for=20
those options.

Regards,

Hugo Monteiro.

--=20
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : [email protected]
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divis=E3o de Inform=E1tica
Faculdade de Ci=EAncias e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                [email protected]

fct.unl.pt:~# _


--------------030803070505040006000906
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 04/24/2010 11:40 PM, N&eacute;her M&aacute;rton wrote:
<blockquote
 cite="mid:[email protected]"
 type="cite">Okay, i found the bug.<br>
It was about the olcServerID.<br>
My cn=config showed olcServerID: 1 <a class="moz-txt-link-freetext" href="ldap://alpha-int/">ldap://alpha-int/</a>, olcServerID: 2
<a class="moz-txt-link-freetext" href="ldap://beta-int/">ldap://beta-int/</a>, which is correct.<br>
But if I start my openldap as ubuntu says (/usr/sbin/slapd -h
<a class="moz-txt-link-freetext" href="ldap://beta-int/">ldap://beta-int/</a> <a class="moz-txt-link-freetext" href="ldap://">ldap://</a><a moz-do-not-send="true"
 href="http://127.0.0.1:389/">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 class="moz-txt-link-freetext" href="ldap://beta-int/">ldap://beta-int/</a> parameter.
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&aacute;rton N&eacute;her<br>
  <br>
</blockquote>
<br>
Hello M&aacute;rton,<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 class="moz-txt-link-freetext" href="ldap:///">ldap:///</a> <a class="moz-txt-link-freetext" href="ldaps:///">ldaps:///</a> 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.<br>
<br>
Regards,<br>
<br>
Hugo Monteiro.<br>
<br>
<pre class="moz-signature" cols="72">-- 
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Telefone : +351 212948300 Ext.15307
Web      : <a class="moz-txt-link-freetext" href="http://hmonteiro.net">http://hmonteiro.net</a>

Divis&atilde;o de Inform&aacute;tica
Faculdade de Ci&ecirc;ncias e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
<a class="moz-txt-link-abbreviated" href="http://www.fct.unl.pt">www.fct.unl.pt</a>                <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>

fct.unl.pt:~# _
</pre>
</body>
</html>

--------------030803070505040006000906--