mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
devel: removing unused code from chgkrbtgtpass
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat May 12 12:05:31 CEST 2018 on sn-devel-144
This commit is contained in:
committed by
Andrew Bartlett
parent
8b72d4c7bb
commit
77ea31bccf
@ -645,11 +645,10 @@ def update_dns_account_password(samdb, secrets_ldb, names):
|
||||
|
||||
secrets_ldb.modify(msg)
|
||||
|
||||
def update_krbtgt_account_password(samdb, names):
|
||||
def update_krbtgt_account_password(samdb):
|
||||
"""Update (change) the password of the krbtgt account
|
||||
|
||||
:param samdb: An LDB object related to the sam.ldb file of a given provision
|
||||
:param names: List of key provision parameters"""
|
||||
:param samdb: An LDB object related to the sam.ldb file of a given provision"""
|
||||
|
||||
expression = "samAccountName=krbtgt"
|
||||
res = samdb.search(expression=expression, attrs=[])
|
||||
|
Reference in New Issue
Block a user