]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:utils: Use lp_dns_hostname() for 'net' dns updates
authorAndreas Schneider <asn@samba.org>
Wed, 6 Mar 2024 14:53:17 +0000 (15:53 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 20:33:36 +0000 (20:33 +0000)
commitb93fef8e90d3797dad5ce120831fcdfccd6cd30c
tree6b1e80ec15558af394179ac97b2ee3a6f86b8621
parent758bb9aacd587daef31a4320b845e92cb09427ac
s3:utils: Use lp_dns_hostname() for 'net' dns updates

name_to_fqdn() requires /etc/hosts to be set up in a special way to find
out the fqdn for dns updates. They are not set up by default and the
DNS update fails. Normally the fqdn is just <lp_netbios_name>.<realm>
and we should just use that. However if it is different, you can set
it to the special value in the smb.conf now.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/utils/net_ads_join_dns.c