[Samba] Samba, Bind, and Kea DHCP

Rowland Penny rpenny at samba.org
Tue Oct 18 08:05:44 UTC 2022



On 18/10/2022 08:54, Jean-Philippe Martin wrote:
> HI
> I have Kea (2.0.2) in production with a custom script for ddns.
> (we use libkea_python to manage kea from saltstack)
> 
> in kea conf file :
>       "hooks-libraries": [
>          {
>              "library": 
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libkea_python.so",
>              "parameters": {
>                  "libpython": "libpython3.9.so <http://libpython3.9.so>",
>                  "module": "/usr/lib/x86_64-linux-gnu/kea/hooks/keahook.py"
>              }
>          },
>          {
>              "library": 
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so"
>          },
>          {
>              "library": 
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_run_script.so",
>              "parameters": {
>                  "name": 
> "/usr/lib/x86_64-linux-gnu/kea/hooks/kea-dhcp-dyndns.sh",
>                  "sync": false
>              }
>          },
> ...

Ah, good so it works.

> 
> my  /usr/lib/x86_64-linux-gnu/kea/hooks/kea-dhcp-dyndns.sh :

No it isn't, it is undoubtedly my script with the copyright notice 
removed, without the license preamble, without the part that adds a 
macaddress to AD and with the required changes for Kea. I do not mind 
you doing any of that except for the copyright removal.

Rowland



More information about the samba mailing list