summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-04-11 02:02:50 +0400
committerJelmer Vernooij <jelmer@samba.org>2010-04-15 18:45:41 +0200
commit634caed116d7e369d5a0002ab93d03744b2e0b1d (patch)
tree9a3005c1fa035b4a8dacdc5bc03a24a17370b40f /source4
parentd784ecec555a3d9737e6f4b3894f27904d2b833c (diff)
downloadsamba-634caed116d7e369d5a0002ab93d03744b2e0b1d.tar.gz
samba-634caed116d7e369d5a0002ab93d03744b2e0b1d.tar.xz
samba-634caed116d7e369d5a0002ab93d03744b2e0b1d.zip
s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 682f40048be..67aac869597 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -277,6 +277,9 @@ class Ldb(_Ldb):
def set_schema_from_ldif(self, pf, df):
_glue.dsdb_set_schema_from_ldif(self, pf, df)
+ def get_oid_from_attid(self, attid):
+ return dsdb.dsdb_get_oid_from_attid(self, attid)
+
def set_schema_from_ldb(self, ldb):
_glue.dsdb_set_schema_from_ldb(self, ldb)