From 77ea31bccfc63980cd112c87b2aaf7eb7b5cf549 Mon Sep 17 00:00:00 2001 From: Aaron Haslett Date: Tue, 1 May 2018 15:54:07 +1200 Subject: devel: removing unused code from chgkrbtgtpass Signed-off-by: Aaron Haslett Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Sat May 12 12:05:31 CEST 2018 on sn-devel-144 --- python/samba/upgradehelpers.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'python/samba/upgradehelpers.py') 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=[]) -- cgit v1.2.1