summaryrefslogtreecommitdiffstats
path: root/source4/auth/pyauth.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-auth: Make sure ldb context is initialized even if not passed by Python codeAlexander Bokovoy2012-04-141-1/+1
| | | | | Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 00:21:00 CEST 2012 on sn-devel-104
* s4-pyauth: Make sure event context allows nestingAndrew Bartlett2011-12-291-1/+2
|
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-101-4/+4
|
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-071-3/+3
|
* s4auth: Remove duplicate assignment of structure variableAmitay Isaacs2011-07-281-1/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett2011-05-081-2/+2
|
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-031-7/+7
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-051-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
* source4/auth: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+2
|
* s4:auth/pyauth.c - temporarily add compatibility code for Python 2.4Matthias Dieter Wallnöfer2011-01-301-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
* s4-pyauth Fix AuthContext wrapperAndrew Bartlett2011-01-191-2/+13
|
* s4-auth Extend python bindings to allow ldb and message to be specifiedAndrew Bartlett2011-01-181-10/+59
| | | | | | This will allow for some more tokenGroups tests in future. Andrew Bartlett
* s4-pyauth Add bindings for auth_context_create() as AuthContext()Andrew Bartlett2011-01-181-0/+80
|
* s4-pyauth Use py_talloc_get_type() for greater talloc binding safetyAndrew Bartlett2011-01-181-6/+6
| | | | | | This does a talloc check of the returned pointer before casting it. Andrew Bartlett
* s4-auth Add get and set methods for auth_session_info python wrapperAndrew Bartlett2011-01-141-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>
* s4-auth Add function to obtain any user's session_info from a given LDBAndrew Bartlett2011-01-141-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
* pyauth: Use talloc.Object.Jelmer Vernooij2010-12-011-3/+5
|
* s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2010-09-221-8/+32
|
* s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij2010-09-221-2/+6
| | | | memory leaks.
* s4:auth Remove system_session_anon() from python bindingsAndrew Bartlett2010-08-181-19/+0
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* pynet: Create a net class.Jelmer Vernooij2010-04-081-3/+4
|
* s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij2010-04-061-1/+2
|
* s4: Fix a few warnings.Jelmer Vernooij2010-01-211-0/+1
|
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-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
* Added "admin_session" method.Nadezhda Ivanova2009-09-091-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.
* another case that should use py_talloc_referenceAndrew Tridgell2009-07-011-1/+1
|
* Add header for pyparam.Jelmer Vernooij2008-12-221-4/+1
|
* Convert auth python module to "plain" C rather than using SWIG.Jelmer Vernooij2008-12-211-0/+95