summaryrefslogtreecommitdiffstats
path: root/src/python
Commit message (Collapse)AuthorAgeFilesLines
* Unify usage of sysdb transactionsMichal Zidek2012-08-231-8/+36
| | | | | | Removing bad examples of usage of sysdb_transaction_start/commit/end functions and making it more consistent (all files except of src/db/sysdb_*.c).
* Fix compilation error in Python murmurhash bindingsJakub Hrozek2012-08-161-4/+8
| | | | | | The compilation produced an error due to missing declaration of uint32_t and a couple of warnings caused by different prototypes of argument parsing functions in older Python releases.
* Add python bindings for murmurhash3Sumit Bose2012-08-151-0/+65
|
* PYHBAC: Return NULL on failureJakub Hrozek2012-05-021-0/+1
| | | | The error handler would simply fall through instead of returning NULL.
* Keep sysdb context in domain info structSumit Bose2012-02-291-9/+2
|
* Cleanup: Remove unused parametersJakub Hrozek2011-11-221-13/+10
|
* Multiline macro cleanupJakub Hrozek2011-09-281-1/+1
| | | | | | | | | | This is mostly a cosmetic patch. The purpose of wrapping a multi-line macro in a do { } while(0) is to make the macro usable as a regular statement, not a compound statement. When the while(0) is terminated with a semicolon, the do { } while(0); block becomes a compound statement again.
* sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny2011-08-151-2/+0
| | | | | The patch also updates code using modified functions. Tests have also been adjusted.
* pyhbac: Do not convert int to boolJakub Hrozek2011-08-041-2/+11
|
* HBAC rule validation Python bindingsJakub Hrozek2011-08-011-0/+99
| | | | https://fedorahosted.org/sssd/ticket/943
* Handle allocation error in python HBAC bindingsJakub Hrozek2011-07-271-0/+3
| | | | https://fedorahosted.org/sssd/ticket/934
* Remove dead code from python HBAC bindingsJakub Hrozek2011-07-271-4/+0
| | | | https://fedorahosted.org/sssd/ticket/935
* silence compilation warnings on RHEL5pbrezina2011-07-271-12/+13
| | | | https://fedorahosted.org/sssd/ticket/930
* Fix python HBAC bindings for python <= 2.4Jakub Hrozek2011-07-131-81/+120
| | | | | | | | | | | | | | | Several parts of the HBAC python bindings did not work with old Python versions, such as the one shipped in RHEL5. The changes include: * a compatibility wrapper around python set object * PyModule_AddIntMacro compat macro * Py_ssize_t compat definition * Do not use PyUnicode_FromFormat * several function prototypes and structures used to have "char arguments where they have "const char *" in recent versions. This caused compilation warnings this patch mitigates by using the discard_const hack on python 2.4
* Fixes for python HBAC bindingsJakub Hrozek2011-07-131-12/+82
| | | | | | | | | These changes were proposed during a review: * Change the signature of str_concat_sequence() to const char * * use a getsetter for HbacRule.enabled to allow string true/false and integer 1/0 in addition to bool * fix a minor memory leak (HbacRequest.rule_name) * remove overzealous discard consts
* Provide python bindings for the HBAC evaluator libraryJakub Hrozek2011-07-081-0/+1741
|
* Python bindings for obfuscationJakub Hrozek2010-09-081-3/+180
|
* tools: remove creation of event_contextSimo Sorce2010-04-121-21/+0
| | | | | Since the sysdb is now synchronous and creates its own event context we don't need an explicit event context anymore in the tools.
* sysydb: Finally stop using a common event contextSimo Sorce2010-04-121-1/+1
| | | | This commit completes the migration to a synchronous sysdb
* sysdb: remove remaining traces of sysdb_handleSimo Sorce2010-04-121-1/+0
|
* sysdb: convert sysdb_getpwnamSimo Sorce2010-04-121-2/+2
|
* Use the sysdb synchronous transaction functionsSimo Sorce2010-04-121-35/+20
|
* sysdb: convert sysdb_delete_entryStephen Gallagher2010-04-121-41/+6
|
* Add userdel_cmd paramJakub Hrozek2010-04-061-0/+6
| | | | Fixes: #231
* Fix warnings from -Wmissing-field-initializersSumit Bose2010-03-251-4/+4
| | | | This patch removes some tab-indentations from pamsrv.c, too.
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+937
Also update BUILD.txt