From 634caed116d7e369d5a0002ab93d03744b2e0b1d Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 11 Apr 2010 02:02:50 +0400 Subject: s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object Signed-off-by: Jelmer Vernooij --- source4/scripting/python/samba/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py index 682f40048b..67aac86959 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) -- cgit