mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +03:00
python: Remove unused parameter ‘netlogon’
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
eb727331a3
commit
704ad18bf5
@@ -407,7 +407,6 @@ class cmd_ntacl_sysvolreset(Command):
|
||||
creds.set_kerberos_state(DONT_USE_KERBEROS)
|
||||
logger = self.get_logger()
|
||||
|
||||
netlogon = lp.get("path", "netlogon")
|
||||
sysvol = lp.get("path", "sysvol")
|
||||
try:
|
||||
samdb = SamDB(session_info=system_session(),
|
||||
@@ -447,7 +446,7 @@ class cmd_ntacl_sysvolreset(Command):
|
||||
logger.warning("Please note that POSIX permissions have NOT been changed, only the stored NT ACL")
|
||||
|
||||
try:
|
||||
provision.setsysvolacl(samdb, netlogon, sysvol,
|
||||
provision.setsysvolacl(samdb, sysvol,
|
||||
LA_uid, BA_gid, domain_sid,
|
||||
lp.get("realm").lower(), samdb.domain_dn(),
|
||||
lp, use_ntvfs=use_ntvfs)
|
||||
|
||||
Reference in New Issue
Block a user