1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

s4:passwords.py - use "self" before "enable_account" to make really sure which LDB connection should be used

This commit is contained in:
Matthias Dieter Wallnöfer 2010-06-11 10:04:19 +02:00
parent 315602f845
commit 61976e4fcf

@ -87,7 +87,7 @@ class PasswordTests(unittest.TestCase):
"objectclass": ["user", "person"],
"sAMAccountName": "testuser",
"userPassword": "thatsAcomplPASS1" })
ldb.enable_account("(sAMAccountName=testuser)")
self.ldb.enable_account("(sAMAccountName=testuser)")
# Open a second LDB connection with the user credentials. Use the
# command line credentials for informations like the domain, the realm