1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-12-11 09:24:10 +01:00
Commit Graph

594 Commits

Author SHA1 Message Date
Klas Lindfors
36e10a7ca7 fixup check for pam_modutil_drop_priv()
this was broken in 68d3f5879e
fixes #50
2015-01-21 10:12:46 +01:00
Klas Lindfors
b02ab9902a free more unfreed memory in the pam_response structure 2015-01-21 09:57:02 +01:00
Klas Lindfors
0b0c8d80aa strdup() the OTP returned 2015-01-21 08:58:30 +01:00
Klas Lindfors
9cdf8f76cd update build-and-test 2015-01-20 10:53:47 +01:00
Klas Lindfors
2cfac9e6a2 enable coverage build for travis 2015-01-20 10:48:31 +01:00
Klas Lindfors
de0eed5be4 add a --enable-coverage switch 2015-01-20 10:25:55 +01:00
Klas Lindfors
e7fadcf073 only run the ldap "server" if we're compiling with ldap 2015-01-20 09:21:38 +01:00
Klas Lindfors
bee24b3672 add notice about tests requiring perl and Net::LDAP::Server 2015-01-20 09:19:53 +01:00
Klas Lindfors
4ab78f54b5 add a test for authfile user with two ok public ids 2015-01-20 09:17:45 +01:00
Klas Lindfors
c5489c93c5 add a second successful ldap test
with two valid yubiKeyId
2015-01-20 09:15:37 +01:00
Klas Lindfors
c2eec8d69a use higher ports and put them in constants 2015-01-20 08:56:14 +01:00
Klas Lindfors
50f645c2c6 add more travis config 2015-01-19 21:39:12 +01:00
Klas Lindfors
e9b34b3924 fixup some warnings in test 2015-01-19 21:17:42 +01:00
Klas Lindfors
f6cddabd6f add EXTRA_DIST for tests/aux 2015-01-19 21:04:12 +01:00
Klas Lindfors
5d7e0030fa add a mocked ldap server and ldap tests
relates #44
2015-01-19 21:04:11 +01:00
Klas Lindfors
086bfbb3f7 add a test for wrong otp and small fixup to mock server 2015-01-19 10:37:51 +01:00
Klas Lindfors
9038130e88 drop id from data struct and use index in array 2015-01-19 10:24:30 +01:00
Klas Lindfors
818fe93f3d pass port correctly 2015-01-19 10:24:13 +01:00
Klas Lindfors
bcfee637af add test for wrong otp for user 2015-01-19 10:12:55 +01:00
Klas Lindfors
196a872a00 add test for failure-case 2015-01-19 10:05:23 +01:00
Klas Lindfors
95db3d4246 add a second child and mock server 2015-01-19 09:59:43 +01:00
Klas Lindfors
ca7088525f fix some warnings 2015-01-19 09:59:43 +01:00
Klas Lindfors
7a4d812925 restructure the test some 2015-01-19 09:51:38 +01:00
Klas Lindfors
75fc2b909d make the recent pam_test more modularised and generic 2015-01-19 09:50:00 +01:00
Klas Lindfors
aae9a9add5 calculate size of cfg array 2015-01-19 09:28:55 +01:00
Klas Lindfors
8366721fd1 test a bit more and switch the mock to perl 2015-01-16 15:24:45 +01:00
Klas Lindfors
286de92cd3 test an OK authentication
add a simple http server in bash that validates the OTP
2015-01-16 11:32:29 +01:00
Klas Lindfors
5191397b59 ignore more 2015-01-16 10:20:46 +01:00
Klas Lindfors
5b17a1931e add first step of tests calling the actual module 2015-01-16 10:20:10 +01:00
Klas Lindfors
68d3f5879e prepare by building a temporary library for the module
also fix the linking of libpam so we only do that when we want/need it
2015-01-16 10:19:31 +01:00
Klas Lindfors
057c3743c9 fixup a memory leak
the caller is responsible for freeing the pam_response from
conversations
2015-01-16 10:14:22 +01:00
Klas Lindfors
168bfc7bbb fixup doc inclusion 2014-12-17 09:35:32 +01:00
Simon Josefsson
33e0221b00 Fix. 2014-12-10 15:27:38 +01:00
Henrik Stråth
b37463491e Update README 2014-12-01 15:04:11 +01:00
Klas Lindfors
1b3a41250e change strtok usage to strtok_r 2014-11-27 15:43:16 +01:00
Meno Abels
aa87979eb8 integrate https://github.com/Yubico/yubico-pam/pull/39/files 2014-11-20 23:59:36 +01:00
Meno Abels
37553c41ce enable that openvpn can now run without any local user 2014-11-20 23:22:59 +01:00
Meno Abels
dae9380ac7 added a better ldap handling, and to allow query active directory 2014-11-20 23:15:39 +01:00
Henrik Stråth
b0e243835e Update README 2014-10-31 16:42:03 +01:00
Henrik Stråth
bba17d9d68 Update Authentication_Using_Challenge-Response.adoc 2014-10-31 16:37:47 +01:00
Henrik Stråth
145ee104e5 Update Two_Factor_PAM_Configuration.adoc 2014-10-31 16:35:13 +01:00
Henrik Stråth
0c71b6df0e Update Two_Factor_PAM_Configuration.adoc 2014-10-31 16:34:48 +01:00
Henrik Stråth
482a11ccd2 Update Two_Factor_PAM_Configuration.adoc 2014-10-31 16:33:29 +01:00
Henrik Stråth
cf67053e78 Update and rename Yubikey_and_SELinux_on_Fedora_18_and_up.txt to Yubikey_and_SELinux_on_Fedora_18_and_up.adoc 2014-10-31 15:59:24 +01:00
Henrik Stråth
6a405bd272 Update YubiKey_and_FreeRADIUS_via_PAM.adoc 2014-10-31 15:57:45 +01:00
Henrik Stråth
f73baeec03 Update YubiKey_and_FreeRADIUS_via_PAM.adoc 2014-10-31 15:55:50 +01:00
Henrik Stråth
7008307ad4 Update MacOS_X_Challenge-Response.adoc 2014-10-31 15:08:46 +01:00
Henrik Stråth
f5b4029e17 Update MacOS_X_Challenge-Response.adoc 2014-10-31 15:08:24 +01:00
Henrik Stråth
7fe9b5c887 Update MacOS_X_Challenge-Response.adoc 2014-10-31 14:42:01 +01:00
Henrik Stråth
2083c76c23 Update MacOS_X_Challenge-Response.adoc 2014-10-31 14:39:10 +01:00