summaryrefslogtreecommitdiff
path: root/source3/passdb/wscript_build
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-10 13:53:43 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-13 12:30:44 +1000
commit2e0ccc47723e5117180a4ece8a260920fc66b2b8 (patch)
tree929a376efef11cb783a783011b2bbe68252db583 /source3/passdb/wscript_build
parent08ccc6ed5121dae8485328fc2ac8ad4f35db2729 (diff)
downloadsamba-2e0ccc47723e5117180a4ece8a260920fc66b2b8.tar.gz
samba-2e0ccc47723e5117180a4ece8a260920fc66b2b8.tar.bz2
samba-2e0ccc47723e5117180a4ece8a260920fc66b2b8.zip
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 <abartlet@samba.org>
Diffstat (limited to 'source3/passdb/wscript_build')
-rw-r--r--source3/passdb/wscript_build7
1 files changed, 7 insertions, 0 deletions
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'
+ )