From 2e0ccc47723e5117180a4ece8a260920fc66b2b8 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 10 Aug 2011 13:53:43 +1000 Subject: passdb: Added python wrapper to passdb - Added python wrapper for samu structure. - Added python wrapper for passdb methods: domain_info(), getsampwnam(), getsampwsid(), create_user(), delete_user(), add_sam_account(), delete_sam_account(), update_sam_account(), rename_sam_account(), search_users() Pair-Programmed-With: Andrew Bartlett --- source3/passdb/wscript_build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/passdb/wscript_build') diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build index 6e5dabe071..61909e1b9d 100644 --- a/source3/passdb/wscript_build +++ b/source3/passdb/wscript_build @@ -53,3 +53,10 @@ bld.SAMBA3_MODULE('pdb_samba4', internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4'), enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4')) +if bld.env.toplevel_build: + bld.SAMBA3_PYTHON('pypassdb', + source='py_passdb.c', + deps='pdb', + public_deps='samba-util tdb talloc pyrpc_util', + realname='samba/passdb.so' + ) -- cgit