summaryrefslogtreecommitdiff
path: root/compat
AgeCommit message (Collapse)Author
2014-12-17misc minor text (non-code) changesLuke Shumaker
2014-12-16Get -pedanticLuke Shumaker
2014-12-15be stricter everywhere (-D_FORTIFY_SOURCE=2)Luke Shumaker
2014-12-15prepare "release"Luke Shumaker
2014-10-04fooLuke Shumaker
2014-01-05Provide replacement ldap_create_deref_control()Arthur de Jong
This adds a test for a bug in OpenLDAP that allocated a LDAP_CONTROL_PAGEDRESULTS control instead of a LDAP_CONTROL_X_DEREF control.
2014-01-02Remove daemon() replacement functionArthur de Jong
2013-11-25Add a test for pam_get_item() argument typeArthur de Jong
This checks whether pam_get_item() takes a const void ** or void ** item value argument and defines a PAM_ITEM_CONST macro that is const when it should. This avoids some compiler warnings.
2013-10-29Fix a number of compiler warningsArthur de Jong
This includes a number of small fixes for issues that were formerly masked by the incorrect AC_LANG_PROGRAM check.
2013-10-29Compatibility definitions for {set,get,end}usershell()Arthur de Jong
This provides compatibility definitions for systems that don't have these functions (some Solaris flavours).
2013-08-28Fix for common spelling mistakeArthur de Jong
2013-03-10also support systems without bet_get_enum()Arthur de Jong
2013-03-03provide a basic replacement implementation of ldap_passwordpolicy_err2txt() ↵Arthur de Jong
for systems that don't have it
2013-03-03provide a replacement implementation of ldap_parse_passwordpolicy_control() ↵Arthur de Jong
for systems that don't have it
2013-03-03request and parse password policy controls when doing user authentication in ↵Arthur de Jong
nslcd
2013-01-18fix copyright yearArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1924 ef36b2f9-881f-0410-afb5-c4e39611909c
2013-01-05remove not needed defineArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1897 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-22update C coding style to a more commonly used styleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-09-01include a missing castArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1746 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-05-11provide a compatibility version of struct spwd for systems without itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1690 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-05-11fix fallback definition of SUN_LEN() (fixes r1686)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1688 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-05-09provide a compatibility definition of SUN_LEN() for systems that lack itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1686 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-05-02move all PAM_AUTHTOK_RECOVERY_ERR compatibility definitions to ↵Arthur de Jong
compat/pam_compat.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1677 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-05provide more detailed logging information for ldap_start_tls_s() failures ↵Arthur de Jong
(based on a patch by Mel Flynn) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1626 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-07-03fix headerArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1480 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-07-03provide PAM_AUTHTOK_RECOVERY_ERR for systems with only PAM_AUTHTOK_RECOVER_ERRArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1479 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-15provide replacement implementation for strndup() for systems that don't have itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1427 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-23provide a definition of daemon() for systems that lack itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1403 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-23typo fix in commentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1402 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-10update copyright headers to add missing yearsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1384 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-11-07SASL compatibility definitionArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1300 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-13small fixArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1265 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10move missing declarations of ether_ntoa() and ether_aton() to header file so ↵Arthur de Jong
they are available for other sources also (r1243 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1252 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-04merge some of the changes for Solaris portability to ease merging, adding ↵Arthur de Jong
--with-pam-seclib-dir, --with-pam-ldap-soname and --with-nss-flavour options and having some auto-detection for SONAMEs and NSS flavour git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1239 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-01use AC_CHECK_DECLS to check for definitions of functions we provide a ↵Arthur de Jong
replacement definition for git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1233 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-29only provide definitions for ether_aton() and ether_ntoa() for platforms ↵Arthur de Jong
missing a definition git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1227 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-29fix definitions of ether_aton() and ether_ntoa()Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1226 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-28begin merging some of the compatibility improvements from Ted C. Cheng of ↵Arthur de Jong
Symas Corporation git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1225 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-28no need to provide a enum nss_status replacement because we don't use itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1224 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-24switch to using nss_status_t throughout the code and provide compatibility ↵Arthur de Jong
code to use whatever nss_status type is used on the system git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1214 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-07-18compatibility improvement: also check for nss_common.h and see if enum ↵Arthur de Jong
nss_status exists git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1166 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-07-18define pam_info(), pam_error() and pam_syslog() compatibility macros to ↵Arthur de Jong
allow no arguments for format git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1163 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-17have more compatibility code for NSS module and move compatibility code to ↵Arthur de Jong
compat directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1146 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-14make include guard names consistent throughout the source and avoid ↵Arthur de Jong
conflicts with system headers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1140 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-02add a warning to the limitation of our pam_get_authtok() implementationArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1132 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-14perform logging from PAM module to syslog and support the debug option to ↵Arthur de Jong
log debugging information git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1106 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-12small compatibility improvementsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1100 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-10replace my_pam_warn() with pam_info() and pam_error() and provide ↵Arthur de Jong
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
2010-05-06implement a minimum_uid option for the PAM module to ignore users that have ↵Arthur de Jong
a lower numeric user id git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1082 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-02-17add pointer to RFC 3062Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1063 ef36b2f9-881f-0410-afb5-c4e39611909c