Sebastian Arcus
2022-Oct-12 15:14 UTC
[Samba] Possible typo/bug in dhcpd.conf config for Samba ddns updates
I've been troubleshooting some issues with hostnames not being set correctly in my setup and I think I discovered a typo in the dhcpd.conf sample at the following page in the wiki: https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records In the following line: set ClientName = pick-first-value(option host-name, config-option-host-name, client-name, noname); Maybe "config-option-host-name" should be "config-option host-name" - at least based on the dhcpd docs?
Rowland Penny
2022-Oct-13 09:52 UTC
[Samba] Possible typo/bug in dhcpd.conf config for Samba ddns updates
On 12/10/2022 16:14, Sebastian Arcus via samba wrote:> I've been troubleshooting some issues with hostnames not being set > correctly in my setup and I think I discovered a typo in the dhcpd.conf > sample at the following page in the wiki: > > https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records > > In the following line: > > set ClientName = pick-first-value(option host-name, > config-option-host-name, client-name, noname); > > Maybe "config-option-host-name" should be "config-option host-name" - at > least based on the dhcpd docs? > >You are absolutely correct, so I have fixed it, thanks for pointing it out :-) Rowland