summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-11 10:04:19 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-11 10:04:19 +0200
commit61976e4fcf49b340a50487d177dea38321ab0e06 (patch)
treedb9ccd9373fbac8bebd8539d887c6a26dd9ffc9e /source4/lib/ldb/tests
parent315602f8455fd8fa86254585a27cca91f1542201 (diff)
downloadsamba-61976e4fcf49b340a50487d177dea38321ab0e06.tar.gz
samba-61976e4fcf49b340a50487d177dea38321ab0e06.tar.bz2
samba-61976e4fcf49b340a50487d177dea38321ab0e06.zip
s4:passwords.py - use "self" before "enable_account" to make really sure which LDB connection should be used
Diffstat (limited to 'source4/lib/ldb/tests')
-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