summaryrefslogtreecommitdiff
path: root/source4/dsdb/tests
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-04 22:49:46 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-04 23:09:53 +0100
commit5a722f187f6bab3423a449ecdd8013406f574ead (patch)
tree99b817653bd4fd0c5154b62e26290e6dbd0a6e72 /source4/dsdb/tests
parent71df279f92dd37a55810ee874e9fce61472c6d14 (diff)
downloadsamba-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
Diffstat (limited to 'source4/dsdb/tests')
-rwxr-xr-xsource4/dsdb/tests/python/ldap.py2
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):