diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-03-04 22:49:46 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-03-04 23:09:53 +0100 |
commit | 5a722f187f6bab3423a449ecdd8013406f574ead (patch) | |
tree | 99b817653bd4fd0c5154b62e26290e6dbd0a6e72 | |
parent | 71df279f92dd37a55810ee874e9fce61472c6d14 (diff) | |
download | samba-5a722f187f6bab3423a449ecdd8013406f574ead.tar.gz samba-5a722f187f6bab3423a449ecdd8013406f574ead.tar.bz2 samba-5a722f187f6bab3423a449ecdd8013406f574ead.zip |
s4:ldap.py - rootdse tests should search for the rootDSE not the default DN
Reviewed by: Tridge
-rwxr-xr-x | source4/dsdb/tests/python/ldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index e9e5a0a117..36c6ed154b 100755 --- a/source4/dsdb/tests/python/ldap.py +++ b/source4/dsdb/tests/python/ldap.py @@ -2682,7 +2682,7 @@ class BaseDnTests(unittest.TestCase): def test_rootdse_attrs(self): """Testing for all rootDSE attributes""" - res = self.ldb.search(scope=SCOPE_BASE, attrs=[]) + res = self.ldb.search("", scope=SCOPE_BASE, attrs=[]) self.assertEquals(len(res), 1) def test_highestcommittedusn(self): |