summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/lib/ldb/tests/python/passwords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/python/passwords.py b/source4/lib/ldb/tests/python/passwords.py
index eb88fc4824..5988cf6b1a 100755
--- a/source4/lib/ldb/tests/python/passwords.py
+++ b/source4/lib/ldb/tests/python/passwords.py
@@ -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