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

272 Commits

Author SHA1 Message Date
Klas Lindfors
20862d0f35 remove -Wno-extra-portability, it breaks on automake before 1.11.2 2012-06-15 13:40:07 +02:00
Klas Lindfors
2ffd54a24c use errstr to communicate with the user 2012-06-14 09:25:38 +02:00
Klas Lindfors
f1f6d54311 bump versions as 2.11 is released 2012-06-14 08:48:21 +02:00
Klas Lindfors
a5f2e9e333 check for same response in pam module, output debug for the user 2012-06-08 13:20:07 +02:00
Klas Lindfors
6db8c640ef add check that two challenges get different responses 2012-06-08 13:19:24 +02:00
Klas Lindfors
41c576e0cf replace fopen with open+fdopen to set more restrictive bits 2012-06-08 10:45:59 +02:00
Clemens Lang
dfd1d3f769 Silence warning: missing AM_PROG_AR on non-POSIX
Automake 1.12 complains: "linking libraries using a non-POSIX archiver
requires 'AM_PROG_AR' in 'configure.ac'". This patch silences this
warning, allowing automake 1.12 to process configure.ac with -Werror
2012-06-05 02:57:06 +02:00
James Dingwall
940149ca98 Modify the PAM headers test in configure.ac to #include <sys/types.h>.
This is required to compile conftest.c for pam_modutil.h on Gentoo with
  sys-libs/pam-1.1.5
  sys-libs/glibc-2.13-r4
  sys-devel/gcc-4.5.3-r2
2012-03-27 13:40:40 +01:00
Fredrik Thulin
439133350d Correct libyubikey requirement 2012-03-05 18:47:08 +01:00
Fredrik Thulin
ef069efef6 libyubikey is really only required --with-cr 2012-03-05 18:45:51 +01:00
Fredrik Thulin
da246e240c load_chalresp_state: Debug message was always shown. 2012-02-13 14:24:31 +01:00
Fredrik Thulin
5627bba2ba Prepare version 2.11 2012-02-10 15:28:01 +01:00
Fredrik Thulin
82296f4632 do_challenge_response: Clear errno when done. 2012-02-10 15:13:42 +01:00
Fredrik Thulin
f1df3a83c3 Fix project name. 2012-02-10 15:02:48 +01:00
Fredrik Thulin
e9c6c97d88 Avoid warnings for fscanf() by passing pointer to first element of array. 2012-02-10 14:14:58 +01:00
Fredrik Thulin
bcdfbfa128 include stdlib, for malloc() 2012-02-10 14:13:55 +01:00
Fredrik Thulin
2c077fba4e DBG format fix 2012-02-10 14:13:24 +01:00
Fredrik Thulin
fb6281fa3f Fix clang indicated printf format warnings. 2012-02-08 15:53:18 +01:00
Fredrik Thulin
3275b38d59 Fix debug-logging of chalresp_path. Oddity reported by clang. 2012-02-06 11:37:42 +01:00
Fredrik Thulin
dc9146ffcb snprintf returns an int, not a size_t. reported by clang. 2012-02-06 11:31:23 +01:00
Fredrik Thulin
5e7dd56c2f Describe recent changes. 2012-02-02 13:47:15 +01:00
Fredrik Thulin
65ae64277c Remove redundant explanation of 'capath'. 2012-02-02 13:17:19 +01:00
Fredrik Thulin
bfbcda54ad Merge branch 'master' of https://github.com/remim/yubico-pam 2012-02-02 13:16:05 +01:00
Remi Mollon
bf8ececae3 adding help about capath and yubi_attr_prefix parameters 2012-02-01 09:29:27 +01:00
Remi Mollon
3e1f5f6925 renaming yubi_prefix to yubi_Attr_prefix and changing debug 2012-02-01 09:29:05 +01:00
Clemens Lang
87d1c486b7 Make yubico-pam compile without -DDEBUG_PAM 2012-01-28 02:24:43 +01:00
Clemens Lang
d2c14efdd4 Add missing headers
fcntl.h in pam_yubico.c is needed on OS X with clang for the build to
succeed, while unistd.h in util.c is required so clang doesn't complain
about implicit declarations of ftruncate and fsync.
2012-01-28 00:30:34 +01:00
Clemens Lang
126146d0e3 Fix memset() with wrong size as reported by clang 2012-01-28 00:19:24 +01:00
Fredrik Thulin
73369beba9 Avoid double fclose() in some error cases.
Problem reported (and patched) by Lingzhu Xiang <xianglingzhu@gmail.com>
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657524
2012-01-27 12:33:53 +01:00
Remi Mollon
fd465d1261 add comment 2012-01-24 17:42:49 +01:00
Simon Josefsson
0456249391 Update doc/. 2012-01-23 20:33:47 +01:00
Simon Josefsson
81994baa58 Fix automake warning. 2012-01-23 20:30:26 +01:00
Simon Josefsson
3828953374 Bump version. Use silent rules. Bump copyright years. 2012-01-23 20:25:06 +01:00
Remi Mollon
b42307d169 adding yubi_prefix parameter, when looking for token_id in ldap 2012-01-18 17:04:58 +01:00
Fredrik Thulin
d5978df794 Merge branch 'master' of github.com:Yubico/yubico-pam 2011-12-14 13:12:17 +01:00
Fredrik Thulin
6c23f47645 sync 2011-12-14 13:11:12 +01:00
Fredrik Thulin
41dddf3e62 check-doc-dist: restore submodule doc branch master 2011-12-14 13:06:41 +01:00
Fredrik Thulin
62662049fb New date for 2.10 release (today). 2011-12-14 12:51:14 +01:00
Simon Josefsson
2a28ad04d5 Shift blame. 2011-12-13 17:00:59 +01:00
Fredrik Thulin
263012f725 authorize_user_token: Don't drop privs for system-wide file. 2011-12-13 16:56:04 +01:00
Fredrik Thulin
29f8a00713 Bug fix dropping privileges using pam_modutil_drop_priv. 2011-12-13 16:15:25 +01:00
Fredrik Thulin
fc8adacd33 prepare 2.10 2011-12-13 13:39:38 +01:00
Fredrik Thulin
84c817909a update copyright for files changed 2011 2011-12-13 13:38:52 +01:00
Fredrik Thulin
ab0035e34e Document arguments token_id_length and mode. 2011-12-12 19:28:37 +01:00
Fredrik Thulin
a6e4c047f6 Compile list of authors from ChangeLog. 2011-12-12 10:56:00 +01:00
Fredrik Thulin
1c74b4849b update 2011-12-12 10:30:14 +01:00
Fredrik Thulin
a8e84a14d0 Prepare version 2.10. 2011-12-06 19:29:00 +01:00
Fredrik Thulin
505225fe19 Pedantically removing warnings. 2011-12-06 14:41:59 +01:00
Fredrik Thulin
afd4198de1 Fix implicit declaration warning. 2011-12-06 14:38:08 +01:00
Fredrik Thulin
c795e84bef challenge_response: reject bad slot 2011-12-06 14:37:57 +01:00