summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-08 12:15:01 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:03:07 +1100
commitd6f92db456162571e7d9273afe371103da72e6b0 (patch)
tree2861746dd225ec91afc9d30b37ef7234b48d7f97 /source4/dsdb
parentdd61336165396f8aaccde1320de26bae789fb324 (diff)
downloadsamba-d6f92db456162571e7d9273afe371103da72e6b0.tar.gz
samba-d6f92db456162571e7d9273afe371103da72e6b0.tar.bz2
samba-d6f92db456162571e7d9273afe371103da72e6b0.zip
s4-samba3sam: use samba3sid module
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/tests/samba3sam.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
index a46afb1a72..8d4047b0b8 100644
--- a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
+++ b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
@@ -30,6 +30,7 @@ from samba.tests import LdbTestCase, TestCaseInTempDir, cmdline_loadparm
import samba.dcerpc.security
import samba.ndr
from samba.auth import system_session
+from samba import param
datadir = os.path.join(os.path.dirname(__file__),
"../../../../../testdata/samba3")
@@ -50,7 +51,7 @@ class MapBaseTestCase(TestCaseInTempDir):
"@TO": "sambaDomainName=TESTS," + s3.basedn})
ldb.add({"dn": "@MODULES",
- "@LIST": "rootdse,paged_results,server_sort,asq,samldb,password_hash,operational,objectguid,rdn_name,samba3sam,partition"})
+ "@LIST": "rootdse,paged_results,server_sort,asq,samldb,password_hash,operational,objectguid,rdn_name,samba3sam,samba3sid,partition"})
ldb.add({"dn": "@PARTITION",
"partition": ["%s" % (s4.basedn_casefold),
@@ -59,6 +60,7 @@ class MapBaseTestCase(TestCaseInTempDir):
"modules": "*:"})
def setUp(self):
+ cmdline_loadparm.set("sid generator", "backend")
super(MapBaseTestCase, self).setUp()
def make_dn(basedn, rdn):