summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-20 02:44:39 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 02:46:57 +0200
commit1f07f53827908d48e50b018c50e97de4740b740b (patch)
treebdef032dcbf6b66f4a2e771e76cb7fec5f35e9bf
parent94e06fe2032b0143939abd85044b5c3ccddefe70 (diff)
downloadsamba-1f07f53827908d48e50b018c50e97de4740b740b.tar.gz
samba-1f07f53827908d48e50b018c50e97de4740b740b.tar.bz2
samba-1f07f53827908d48e50b018c50e97de4740b740b.zip
ldb: Remove last import of dsdb.
-rw-r--r--source4/scripting/python/samba/__init__.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 3eefaa7ffc..a6532b7f0d 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -42,7 +42,6 @@ else:
import ldb
-import dsdb
import _glue
from samba._ldb import Ldb as _Ldb
@@ -110,11 +109,6 @@ class Ldb(_Ldb):
if url is not None:
self.connect(url, flags, options)
- def set_create_perms(self, perms=0600):
- # we usually want Samba databases to be private. If we later find we
- # need one public, we will have to change this here
- super(Ldb, self).set_create_perms(perms)
-
def searchone(self, attribute, basedn=None, expression=None,
scope=ldb.SCOPE_BASE):
"""Search for one attribute as a string.
@@ -267,12 +261,6 @@ class Ldb(_Ldb):
else:
self.modify(msg, controls)
- def domain_sid(self):
- """Read the domain SID used by this LDB.
-
- """
- dsdb.samdb_get_domain_sid(self)
-
def substitute_var(text, values):
"""Substitute strings of the form ${NAME} in str, replacing