diff options
author | Aaron Haslett <aaronhaslett@catalyst.net.nz> | 2018-05-01 15:54:07 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-12 12:05:31 +0200 |
commit | 77ea31bccfc63980cd112c87b2aaf7eb7b5cf549 (patch) | |
tree | b95dafaacaf5f6f63fae0f507af9265e7b5df584 /python/samba/upgradehelpers.py | |
parent | 8b72d4c7bbb8462232d685e17612b06b4cca57f2 (diff) | |
download | samba-77ea31bccfc63980cd112c87b2aaf7eb7b5cf549.tar.gz |
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
Diffstat (limited to 'python/samba/upgradehelpers.py')
-rw-r--r-- | python/samba/upgradehelpers.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/samba/upgradehelpers.py b/python/samba/upgradehelpers.py index d4f69445234..14fe3e024c3 100644 --- a/python/samba/upgradehelpers.py +++ b/python/samba/upgradehelpers.py @@ -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=[]) |