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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user