mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
s4-provision: Remove dupliate creation of dns/spn_update_list files
dns_update_list and spn_update_list are set up using create_dns_update_list() function. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
9a5524e00a
commit
295361c13d
@ -2005,13 +2005,6 @@ def create_zone_file(lp, logger, paths, targetdir, dnsdomain,
|
||||
"GC_MSDCS_IP6_LINE": gc_msdcs_ip6_line,
|
||||
})
|
||||
|
||||
# note that we use no variable substitution on this file
|
||||
# the substitution is done at runtime by samba_dnsupdate
|
||||
setup_file(setup_path("dns_update_list"), paths.dns_update_list, None)
|
||||
|
||||
# and the SPN update list
|
||||
setup_file(setup_path("spn_update_list"), paths.spn_update_list, None)
|
||||
|
||||
if paths.bind_gid is not None:
|
||||
try:
|
||||
os.chown(dns_dir, -1, paths.bind_gid)
|
||||
@ -2031,7 +2024,7 @@ def create_zone_file(lp, logger, paths, targetdir, dnsdomain,
|
||||
def create_dns_update_list(lp, logger, paths):
|
||||
"""Write out a dns_update_list file"""
|
||||
# note that we use no variable substitution on this file
|
||||
# the substitution is done at runtime by samba_dnsupdate
|
||||
# the substitution is done at runtime by samba_dnsupdate, samba_spnupdate
|
||||
setup_file(setup_path("dns_update_list"), paths.dns_update_list, None)
|
||||
setup_file(setup_path("spn_update_list"), paths.spn_update_list, None)
|
||||
|
||||
|
Reference in New Issue
Block a user