summaryrefslogtreecommitdiff
path: root/source4/auth/pyauth.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-22pyauth: Check return value of lpcfg_from_py_object().Andreas Schneider1-0/+4
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2012-04-14s4-auth: Make sure ldb context is initialized even if not passed by Python codeAlexander Bokovoy1-1/+1
Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 00:21:00 CEST 2012 on sn-devel-104
2011-12-29s4-pyauth: Make sure event context allows nestingAndrew Bartlett1-1/+2
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-4/+4
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij1-3/+3
2011-07-28s4auth: Remove duplicate assignment of structure variableAmitay Isaacs1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-08s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett1-2/+2
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-7/+7
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
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