From 5a0b3cf93db3ebf79d81b9ef09669835569549f9 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 30 May 2010 22:46:50 +0200 Subject: s4:tests/python/passwords.py - fix filter --- source4/lib/ldb/tests/python/passwords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/tests') 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 -- cgit