summaryrefslogtreecommitdiff
path: root/source4/auth/pyauth.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett1-74/+2
This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
2011-03-19source4/auth: Fix prototypes for all functions.Jelmer Vernooij1-0/+2
2011-01-30s4:auth/pyauth.c - temporarily add compatibility code for Python 2.4Matthias Dieter Wallnöfer1-0/+11
This patch has been commited by request of Jelmer. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Jan 30 19:07:57 CET 2011 on sn-devel-104
2011-01-19s4-pyauth Fix AuthContext wrapperAndrew Bartlett1-2/+13
2011-01-18s4-auth Extend python bindings to allow ldb and message to be specifiedAndrew Bartlett1-10/+59
This will allow for some more tokenGroups tests in future. Andrew Bartlett
2011-01-18s4-pyauth Add bindings for auth_context_create() as AuthContext()Andrew Bartlett1-0/+80
2011-01-18s4-pyauth Use py_talloc_get_type() for greater talloc binding safetyAndrew Bartlett1-6/+6
This does a talloc check of the returned pointer before casting it. Andrew Bartlett
2011-01-14s4-auth Add get and set methods for auth_session_info python wrapperAndrew Bartlett1-6/+72
This allows the session key, security_token and credentials to be manipulated from python. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-01-14s4-auth Add function to obtain any user's session_info from a given LDBAndrew Bartlett1-1/+63
This will be a building block for a tokenGroups test, which can compare against a remote server (in particular the rootDSE) against what we would calculate the tokenGroups to be. (this meant moving some parts out of the auth_sam code into the containing library) Andrew Bartlett
2010-12-01pyauth: Use talloc.Object.Jelmer Vernooij1-3/+5
2010-09-22s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij1-8/+32
2010-09-22s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij1-2/+6
memory leaks.
2010-08-18s4:auth Remove system_session_anon() from python bindingsAndrew Bartlett1-19/+0
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-3/+3
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-04-08pynet: Create a net class.Jelmer Vernooij1-3/+4
2010-04-06s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij1-1/+2
2010-01-21s4: Fix a few warnings.Jelmer Vernooij1-0/+1
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-1/+1
This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
2009-09-09Added "admin_session" method.Nadezhda Ivanova1-0/+23
The purpose of admin_session is to be able to execute parts of provisioning as the user Administrator in order to have the correct group and owner in the security descriptors. To be used for provisioning and tests only.
2009-07-01another case that should use py_talloc_referenceAndrew Tridgell1-1/+1
2008-12-22Add header for pyparam.Jelmer Vernooij1-4/+1
2008-12-21Convert auth python module to "plain" C rather than using SWIG.Jelmer Vernooij1-0/+95