From fd49b44e0296348c835168f336297fd969e63c50 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Thu, 25 Aug 2016 11:33:16 +1200 Subject: [PATCH] tests/schemainfo: run dsdb schema info tests with proper URI Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett --- source4/dsdb/tests/python/dsdb_schema_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/tests/python/dsdb_schema_info.py b/source4/dsdb/tests/python/dsdb_schema_info.py index 18c2f08f13f..e7933f48864 100755 --- a/source4/dsdb/tests/python/dsdb_schema_info.py +++ b/source4/dsdb/tests/python/dsdb_schema_info.py @@ -51,7 +51,7 @@ class SchemaInfoTestCase(samba.tests.TestCase): # connect SamDB if we haven't yet if self.sam_db is None: - ldb_url = samba.tests.env_get_var_value("DC_SERVER") + ldb_url = "ldap://%s" % samba.tests.env_get_var_value("DC_SERVER") SchemaInfoTestCase.sam_db = samba.tests.connect_samdb(ldb_url) # fetch rootDSE -- 2.11.4.GIT