42604cc8d11743febf5aa892cb3a7d3c32bfed48 |
|
23-Feb-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
Fix typos reported by lintian
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
3cd7275c3c41a03eb65769c2bf4e472d1de7b8c0 |
|
29-Jan-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
pysss: Fix double free
The talloc context is removed in destructor.
==1695== Invalid read of size 4
==1695== at 0x1243D0CD: talloc_chunk_from_ptr (talloc.c:372)
==1695== by 0x1243D0CD: _talloc_free (talloc.c:1559)
==1695== by 0x117B18C3: PySssLocalObject_dealloc (pysss.c:836)
==1695== by 0x117B1AEE: PySssLocalObject_new (pysss.c:898)
==1695== by 0x4ED5522: type_call (typeobject.c:729)
==1695== by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695== by 0x4F15584: do_call (ceval.c:4328)
==1695== by 0x4F15584: call_function (ceval.c:4133)
==1695== by 0x4F15584: PyEval_EvalFrameEx (ceval.c:2753)
==1695== by 0x4F16BE5: fast_function (ceval.c:4196)
==1695== by 0x4F16BE5: call_function (ceval.c:4131)
==1695== by 0x4F16BE5: PyEval_EvalFrameEx (ceval.c:2753)
==1695== by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695== by 0x4EA46BC: function_call (funcobject.c:526)
==1695== by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695== by 0x4F1504F: ext_do_call (ceval.c:4423)
==1695== by 0x4F1504F: PyEval_EvalFrameEx (ceval.c:2792)
==1695== by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695== Address 0x112d4560 is 64 bytes inside a block of size 96 free'd
==1695== at 0x4C2ACE9: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1695== by 0x1243D2F2: _talloc_free_internal (talloc.c:1057)
==1695== by 0x1243D2F2: _talloc_free (talloc.c:1581)
==1695== by 0x117B1ABF: PySssLocalObject_new (pysss.c:876)
==1695== by 0x4ED5522: type_call (typeobject.c:729)
==1695== by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695== by 0x4F15584: do_call (ceval.c:4328)
==1695== by 0x4F15584: call_function (ceval.c:4133)
==1695== by 0x4F15584: PyEval_EvalFrameEx (ceval.c:2753)
==1695== by 0x4F16BE5: fast_function (ceval.c:4196)
==1695== by 0x4F16BE5: call_function (ceval.c:4131)
==1695== by 0x4F16BE5: PyEval_EvalFrameEx (ceval.c:2753)
==1695== by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695== by 0x4EA46BC: function_call (funcobject.c:526)
==1695== by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695== by 0x4F1504F: ext_do_call (ceval.c:4423)
==1695== by 0x4F1504F: PyEval_EvalFrameEx (ceval.c:2792)
==1695== by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
341a00311680a440d7f979f06c34c70d86c9367a |
|
13-Jan-2015 |
Bohuslav Kabrda <bkabrda@redhat.com> |
Python3 support in SSSD
https://fedorahosted.org/sssd/ticket/2017 |
c52d7c41e4127a84f487777c0efa6996f6389c51 |
|
22-Oct-2014 |
Pavel Reichl <preichl@redhat.com> |
pyhbac,pysss: fix reference leaks
Resolves:
https://fedorahosted.org/sssd/ticket/1195
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
d79c604c5080c5f6e2bf2d91b4ae79a562437c74 |
|
05-Sep-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
pysss: test return value of realloc.
It is not very likely that realloc will return NULL, but it's better
to be defensive.
src/python/pysss.c:774: var_assigned: Assigning: "groups" = null return value from "realloc".
src/python/pysss.c:788: dereference: Dereferencing a null pointer "groups".
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
a842b7eb49fd640d66aeaec26c05166ef55784f8 |
|
26-Feb-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unused structures.
Reported by: cppcheck
'struct py_sss_transaction', 'struct resolve_get_domain_stat',
'struct sync_op_res' were defined in implementation modules, but they were not
used anywhere.
Reviewed-by: Michal Žídek <mzidek@redhat.com> |
28ce9dab8537870210761b15f037addd1de65e02 |
|
27-Nov-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unused parameter from groupadd |
b76531423695f649f1907422d9ecbb8c14143999 |
|
27-Nov-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unused parameter from useradd |
397af5a7fa1db08b8b24dbd67d350b21263035a8 |
|
27-Nov-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unused parameter from groupmod |
a117f51165005d880af58d017e6e7e1881b54ddd |
|
27-Nov-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unused parameter from usermod |
b3292840ebaa747a9fd596ff47cc5d18198361d0 |
|
15-Nov-2013 |
Michal Zidek <mzidek@redhat.com> |
SYSDB: Drop the sysdb_ctx parameter from the sysdb_search module |
50134a87d7b3bb2423ebf962bb1d9a7b90194520 |
|
24-Jul-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Every time release allocated memory in function py_sss_getgrouplist
Coverity: 11922 |
a41695473af0a932ffde0878211acef39f96edae |
|
23-Jul-2013 |
Alexander Bokovoy <abokovoy@redhat.com> |
pysss: prevent crashing when group is unresolvable
In unlikely case that an NSS module returns a reference to a group
and we are unable to resolve it shortly after that, make sure these
groups are skipped. |
758ce3f01b4ed73c3bc35cd7039fac26fdf16386 |
|
22-Jul-2013 |
Alexander Bokovoy <abokovoy@redhat.com> |
pysss: add pysss.getgrouplist(username)
getgrouplist(3) call is missing from Python older than Python 3.3
Introduce supplementary binding to provide getgrouplist as part of pysss
interface. Since getgrouplist() can be run against any domain, place
it at top module rather than pysss.local namespace.
pysss.getgrouplist(username) -> tuple(group list as strings) |
234958be042980242fff6da936af674da877c5ef |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Refactor single domain initialization
Bring it out of sysdb, which will slowly remove internal dependencies on
domains and instead will always require them to be passed by callers. |
21d485184df986e1a123f70c689517386e51a5ce |
|
23-Aug-2012 |
Michal Zidek <mzidek@redhat.com> |
Unify usage of sysdb transactions
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). |
d2d2d6ae0c436461bcc8f881df059eb036314c44 |
|
29-Feb-2012 |
Sumit Bose <sbose@redhat.com> |
Keep sysdb context in domain info struct |
ac3a1f3da772cf101101c31675c63dc3549b21b5 |
|
22-Nov-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Cleanup: Remove unused parameters |
8a1738f9379a1b8fb5c95c3df649e014ff5a1434 |
|
15-Aug-2011 |
Jan Zeleny <jzeleny@redhat.com> |
sysdb refactoring: deleted domain variables in sysdb API
The patch also updates code using modified functions. Tests have also
been adjusted. |
801ef60c4b4a9ed9c118d963f79b265ec288840e |
|
27-Jul-2011 |
pbrezina <pbrezina@redhat.com> |
silence compilation warnings on RHEL5
https://fedorahosted.org/sssd/ticket/930 |
4f5405595730a106f7406eba849f65cda2eb53f1 |
|
08-Sep-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Python bindings for obfuscation |
d86fc9163127f7c5bd0c3af950fcddff7911867f |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
tools: remove creation of event_context
Since the sysdb is now synchronous and creates its own event context we
don't need an explicit event context anymore in the tools. |
9db5a5140356479a58f2e7212fc5c4ad6135bb7f |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysydb: Finally stop using a common event context
This commit completes the migration to a synchronous sysdb |
e5e32021c23f3726d68ee756e8e3de48b3214063 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: remove remaining traces of sysdb_handle |
7ffaa2afb9e03a6f0b9c602c0f03b2074ea33eac |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: convert sysdb_getpwnam |
40bb1ddf0a3f69922466b2b99bcdaf7746fc81ba |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
Use the sysdb synchronous transaction functions |
cae9c9fbdebc3f6a4c390a20e75447217439dff7 |
|
12-Apr-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
sysdb: convert sysdb_delete_entry |
4aa841c5724f313435aeea1c0319e81bb0d14321 |
|
06-Apr-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Add userdel_cmd param
Fixes: #231 |
7c837ddd5b1737b56fc475f7e347efdb067e2330 |
|
25-Mar-2010 |
Sumit Bose <sbose@redhat.com> |
Fix warnings from -Wmissing-field-initializers
This patch removes some tab-indentations from pamsrv.c, too. |
1c48b5a62f73234ed26bb20f0ab345ab61cda0ab |
|
18-Feb-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Rename server/ directory to src/
Also update BUILD.txt |