diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-30 22:46:50 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-30 23:13:09 +0200 |
commit | 5a0b3cf93db3ebf79d81b9ef09669835569549f9 (patch) | |
tree | 5fe4a1c4c55add05a1ee15e247f0f497aed4c0d3 /source4/lib/ldb/tests/python | |
parent | 327fa70f3fe2f3917df509f783822a3b42a266f0 (diff) | |
download | samba-5a0b3cf93db3ebf79d81b9ef09669835569549f9.tar.gz samba-5a0b3cf93db3ebf79d81b9ef09669835569549f9.tar.bz2 samba-5a0b3cf93db3ebf79d81b9ef09669835569549f9.zip |
s4:tests/python/passwords.py - fix filter
Diffstat (limited to 'source4/lib/ldb/tests/python')
-rwxr-xr-x | source4/lib/ldb/tests/python/passwords.py | 2 |
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 9203e1b4e4..eb88fc4824 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("(cn=testuser)" + self.base_dn) + 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 |