From 5a722f187f6bab3423a449ecdd8013406f574ead Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Fri, 4 Mar 2011 22:49:46 +0100 Subject: [PATCH] s4:ldap.py - rootdse tests should search for the rootDSE not the default DN Reviewed by: Tridge --- source4/dsdb/tests/python/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.34.1