mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
python: Remove unused parameter ‘targetdir’
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a84c521265
commit
49801372c6
python/samba
@ -1373,7 +1373,6 @@ class DCJoinContext(object):
|
||||
ctx.names, ctx.paths, ctx.lp, ctx.logger,
|
||||
dns_backend=ctx.dns_backend,
|
||||
dnspass=ctx.dnspass, os_level=ctx.behavior_version,
|
||||
targetdir=ctx.targetdir,
|
||||
key_version_number=ctx.dns_key_version_number)
|
||||
|
||||
def join_setup_trusts(ctx):
|
||||
|
@ -1262,12 +1262,12 @@ def setup_ad_dns(samdb, secretsdb, names, paths, lp, logger,
|
||||
if dns_backend.startswith("BIND9_"):
|
||||
setup_bind9_dns(samdb, secretsdb, names, paths, lp, logger,
|
||||
dns_backend, os_level, site=site, dnspass=dnspass, hostip=hostip,
|
||||
hostip6=hostip6, targetdir=targetdir)
|
||||
hostip6=hostip6)
|
||||
|
||||
|
||||
def setup_bind9_dns(samdb, secretsdb, names, paths, lp, logger,
|
||||
dns_backend, os_level, site=None, dnspass=None, hostip=None,
|
||||
hostip6=None, targetdir=None, key_version_number=None):
|
||||
hostip6=None, key_version_number=None):
|
||||
"""Provision DNS information (assuming BIND9 backend in DC role)
|
||||
|
||||
:param samdb: LDB object connected to sam.ldb file
|
||||
@ -1282,7 +1282,6 @@ def setup_bind9_dns(samdb, secretsdb, names, paths, lp, logger,
|
||||
:param dnspass: Password for bind's DNS account
|
||||
:param hostip: IPv4 address
|
||||
:param hostip6: IPv6 address
|
||||
:param targetdir: Target directory for creating DNS-related files for BIND9
|
||||
"""
|
||||
|
||||
if (not is_valid_dns_backend(dns_backend) or
|
||||
|
Loading…
x
Reference in New Issue
Block a user