summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-18 16:50:54 +0000
committerJelmer Vernooij <jelmer@samba.org>2008-12-18 16:50:54 +0000
commit01c22153a95377fc83dc9559404b1876cca109e7 (patch)
treee27060a8a58af544ec5bc911c29b85877d173c48 /source4/dsdb/samdb
parent61a2d5c8784a99d4d0419a00375be91a3e9bfc33 (diff)
downloadsamba-01c22153a95377fc83dc9559404b1876cca109e7.tar.gz
samba-01c22153a95377fc83dc9559404b1876cca109e7.tar.bz2
samba-01c22153a95377fc83dc9559404b1876cca109e7.zip
Fix samba3sam test after removal of dom_sid IDL file.
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/tests/samba3sam.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
index fa1af2ad61..d1a8e71842 100644
--- a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
+++ b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
@@ -27,7 +27,7 @@ import ldb
from ldb import SCOPE_DEFAULT, SCOPE_BASE, SCOPE_SUBTREE
from samba import Ldb, substitute_var
from samba.tests import LdbTestCase, TestCaseInTempDir, cmdline_loadparm
-import samba.dcerpc.dom_sid
+import samba.dcerpc.security
import samba.security
import samba.ndr
@@ -116,7 +116,7 @@ class MapBaseTestCase(TestCaseInTempDir):
super(MapBaseTestCase, self).tearDown()
def assertSidEquals(self, text, ndr_sid):
- sid_obj1 = samba.ndr.ndr_unpack(samba.dcerpc.dom_sid.dom_sid,
+ sid_obj1 = samba.ndr.ndr_unpack(samba.dcerpc.security.dom_sid,
str(ndr_sid[0]))
sid_obj2 = samba.security.Sid(text)
# For now, this is the only way we can compare these since the