Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/compat/pam_compat.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix HAVE_DECL_PAM_ERROR usageArthur de Jong2017-06-181-2/+2
| | | | | | | The macro is supposed to be defined to 0 (instead of undefined) if pam_info() and pam_error() are not found. Fixes 3d5ab89.
* Fix pam_info() and pam_error() replacementArthur de Jong2017-06-161-5/+5
| | | | | | On FreeBSD these are functions while on Linux they are macros causing them to be incorrectly replaced on FreeBSD. This resulted in a crash of the PAM module when e.g. presenting messages about password expiry.
* update C coding style to a more commonly used styleArthur de Jong2012-12-221-11/+14
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
* move all PAM_AUTHTOK_RECOVERY_ERR compatibility ↵Arthur de Jong2012-05-021-3/+4
| | | | | | definitions to compat/pam_compat.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1677 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide PAM_AUTHTOK_RECOVERY_ERR for systems with only ↵Arthur de Jong2011-07-031-0/+8
| | | | | | PAM_AUTHTOK_RECOVER_ERR git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1479 ef36b2f9-881f-0410-afb5-c4e39611909c
* define pam_info(), pam_error() and pam_syslog() ↵Arthur de Jong2010-07-181-6/+6
| | | | | | compatibility macros to allow no arguments for format git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1163 ef36b2f9-881f-0410-afb5-c4e39611909c
* make include guard names consistent throughout the ↵Arthur de Jong2010-06-141-2/+2
| | | | | | source and avoid conflicts with system headers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1140 ef36b2f9-881f-0410-afb5-c4e39611909c
* perform logging from PAM module to syslog and support ↵Arthur de Jong2010-05-141-0/+9
| | | | | | the debug option to log debugging information git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1106 ef36b2f9-881f-0410-afb5-c4e39611909c
* small compatibility improvementsArthur de Jong2010-05-121-2/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1100 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace my_pam_warn() with pam_info() and pam_error() ↵Arthur de Jong2010-05-101-1/+17
| | | | | | and provide replacement for pam_prompt() also using it in our pam_get_authtok() replacement git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1098 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a minimum_uid option for the PAM module to ↵Arthur de Jong2010-05-061-1/+12
| | | | | | ignore users that have a lower numeric user id git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1082 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide a replacement for the pam_get_authtok() ↵Arthur de Jong2009-10-171-0/+41
functions for systems without it git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1008 ef36b2f9-881f-0410-afb5-c4e39611909c