aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-16Coverity: Fix memory leak in libpamtest on errorspecJakub Hrozek1-2/+17
2015-12-16Coverity: Remove deadcodeJakub Hrozek1-2/+0
2015-12-16link with libdl explicitlyAndreas Schneider2-2/+2
2015-12-16rpm: Add initial specfileJakub Hrozek1-0/+131
2015-12-16doc: Also install pam_matrix manpageJakub Hrozek1-0/+5
2015-12-16cmake: Install pypamtestAndreas Schneider1-0/+7
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-16cmake: Find the python executableAndreas Schneider1-0/+2
This is needed to find the PYTHON_SITELIB directory for module installation. Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-16cmake: Add our own FindPythonLibs.cmakeAndreas Schneider1-0/+388
This adds support for PYTHON_SITELIB variable. Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-16cmake: Use python_add_module functionAndreas Schneider1-8/+2
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-10py: Fix strict aliasing rules in initpypamtest()Andreas Schneider1-7/+12
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10py: Fix strict aliasing rules in set_pypamtest_exception()Andreas Schneider1-1/+6
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10py: Make sure we do not use failed uninitializedAndreas Schneider1-2/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10py: Make sure we do not dereference a NULL pointerAndreas Schneider1-0/+5
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10libpamtest: Do not call pam_end() if tc is not setAndreas Schneider1-2/+2
This fixes a build warning. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10libpamtest: Make sure reply is initializedAndreas Schneider1-1/+1
Fixes a build warning Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10tests: Do not run python test if python is not presentAndreas Schneider1-6/+8
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-12-10ctest: Drop ctest results via httpsAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-10tests: Fix printf attribute warningsAndreas Schneider1-0/+14
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-10pam_matrix: Add OpenPAM (BSD) supportAndreas Schneider9-23/+308
Includes: - pwrap: Fix errno if ENODATA is not available - nwrap: Add FTW return values if not defined - pwrap: Add support for BSD prompt and strerror functions - pwrap: Add detection for pam_syslog and pam_vsyslog
2015-12-10cmake: Add cmake config files for libpamtestAndreas Schneider4-0/+38
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-10cmake: Ignore build directoriesAndreas Schneider2-3/+3
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-10cmake: Set correct versions for librariesAndreas Schneider2-17/+33
Signed-off-by: Andreas Schneider <asn@samba.org>
2015-12-10python: Support python2Andreas Schneider3-28/+68
2015-12-10libpamtest: Add Python bindingsJakub Hrozek11-35/+1245
So far only for Python3 Pair-Programmed-With: Andreas Schneider <asn@samba.org>
2015-12-10pwrap: Add pamtest_strerror()Jakub Hrozek3-1/+63
2015-12-10Improve buildAndreas Schneider4-2/+35
2015-12-10s/PAM_WRAPPER_CONFDIR/PAM_WRAPPER_SERVICEDIRAndreas Schneider4-10/+10
2015-12-10SQ into clean stale dirsJakub Hrozek1-5/+15
2015-12-10pwrap: Clean stale dirsAndreas Schneider1-1/+79
2015-12-10libpamtest: Handle NULL passwords in libpamtestJakub Hrozek3-12/+48
2015-12-10libpamtest: add documentation, change macros to look betterAndreas Schneider6-164/+2787
2015-12-10tests: Also test pam_vpromptJakub Hrozek1-0/+36
2015-12-10pwrap: Build on FreeBSDJakub Hrozek10-10/+142
With this patch, pam_wrapper builds on FreeBSD, but doesn't work (yet)
2015-12-10docs: Add man pages for modulesJakub Hrozek12-59/+579
2015-12-10More libpamtest testsJakub Hrozek1-0/+32
2015-12-10Assorted small fixes and leak plugsJakub Hrozek3-41/+55
2015-12-10Don't use pam_promptJakub Hrozek2-4/+43
2015-12-10Test ECHO_ON in libpamtestJakub Hrozek3-10/+23
2015-12-10Don't use pam_prompt in pam_matrixJakub Hrozek1-10/+37
2015-12-10tests: more libpamtest testsJakub Hrozek1-0/+61
2015-12-10Rename pwrap_pam to MatrixJakub Hrozek5-36/+36
2015-12-10pamtest: Capture info and error messages from conversationJakub Hrozek5-62/+247
2015-12-10pwrap: Add pam_get_items.so and pam_set_items.soJakub Hrozek6-12/+394
2015-12-10pwrap: Export service directory in environment variableJakub Hrozek2-1/+22
2015-12-10Add Travis YAML fileJakub Hrozek1-0/+18
2015-12-10Use find_library to find libpam.0Jakub Hrozek3-16/+26
2015-12-10convert pam_wrapper tests to libpamtestJakub Hrozek2-135/+156
2015-12-10pamtest: Add libpamtestJakub Hrozek7-2/+364
2015-12-10pwrap: wrap pam_syslogJakub Hrozek2-0/+64
2015-12-10pwrap: Allow more directoriesAndreas Schneider1-6/+18