<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Veronique,</p>
<p><br>
</p>
<p>Thanks for that - that's what we were missing: the auth info
inside the peers block.</p>
<p><br>
</p>
<p>A note to the Kea Document Maintainers: I do not recall *ever*
reading *anywhere* in the doco or sample config files where the
basic-auth-user and basic-auth-password need to be included in the
ha->peers block. Of course, I may have missed it, but still, it
may behove you to make something like this much more predominant
in the documentation *and* sample config files.</p>
<p><br>
</p>
<p>Thanks to everyone who helped us out in this - we really
appreciate it</p>
<p><br>
</p>
<p>Cheers</p>
<p><br>
</p>
<p>Dulux-Oz<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 27/01/2023 18:49, Veronique Lefebure
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ZRAP278MB075569557A910F94DB17089F89CC9@ZRAP278MB0755.CHEP278.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof">
We have this in the kea-ctrl-agent config and it works fine:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0">
"authentication": {
<div class="ContentPasted0"> "type": "basic",</div>
<div class="ContentPasted0"> "realm": "kea-control-agent",</div>
<div class="ContentPasted0"> "clients": [</div>
<div class="ContentPasted0"> {</div>
<div class="ContentPasted0"> "user": "xxxxx",</div>
<div class="ContentPasted0"> "password": "yyyy"</div>
<div class="ContentPasted0"> }</div>
<div class="ContentPasted0"> ]</div>
<div class="ContentPasted0"> }</div>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0">
and in kea-dhcp4.conf:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
"parameters": {
<div class="ContentPasted1"> "high-availability": [</div>
<div class="ContentPasted1"> {</div>
...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0 ContentPasted1
ContentPasted2">
"peers": [
<div class="ContentPasted2"> {</div>
<div class="ContentPasted2"> "auto-failover":
true,</div>
<div class="ContentPasted2">
"basic-auth-password": "yyyy",</div>
<div class="ContentPasted2"> "basic-auth-user":
"xxxx",</div>
<div class="ContentPasted2"> "name":
"kea1.example.com",</div>
<div class="ContentPasted2"> "role": "primary",</div>
<div class="ContentPasted2"> "url":
"http://xx.xxx.xx.xx:90xx/"</div>
<div class="ContentPasted2"> },</div>
...</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</blockquote>
</body>
</html>