summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/samba/upgradehelpers.py5
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=[])