[PATCH 5/6] s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
Matthieu Patou
mat at matws.net
Sat Apr 10 16:02:50 MDT 2010
---
source4/scripting/python/samba/__init__.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 682f400..67aac86 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)
--
1.6.3.3
--------------010804020208020700020704
Content-Type: text/x-patch;
name="0003-s4-Add-python-binding-to-waf-so-that-the-drsblobs.so.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0003-s4-Add-python-binding-to-waf-so-that-the-drsblobs.so.pa";
filename*1="tch"
More information about the samba-technical
mailing list