Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-104-37/+92
| | | | | | 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
* add pointer to RFC 3062Arthur de Jong2010-02-171-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1063 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide a replacement for the pam_get_authtok() ↵Arthur de Jong2009-10-173-1/+166
| | | | | | functions for systems without it git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1008 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide replacement functions for ldap_initialize() and ↵Arthur de Jong2009-10-176-49/+234
| | | | | | ldap_passwd_s() and centralise LDAP compatibility hacks into ldap_compat.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1007 ef36b2f9-881f-0410-afb5-c4e39611909c
* also provide some function definitions for ether_ntoa() ↵Arthur de Jong2009-10-171-1/+11
| | | | | | and ether_aton() because definitions seem to be missing on some platforms git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1006 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename software to nss-pam-ldapdArthur de Jong2009-08-314-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@978 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix for getpeercred() on Solaris by David Bartley ↵Arthur de Jong2009-01-301-5/+5
| | | | | | <dtbartle@csclub.uwaterloo.ca> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@807 ef36b2f9-881f-0410-afb5-c4e39611909c
* use the cr_ prefix when getting a xucred struct (needed ↵Arthur de Jong2008-06-061-2/+2
| | | | | | for kfreebsd) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@753 ef36b2f9-881f-0410-afb5-c4e39611909c
* miscellaneous portability improvementsArthur de Jong2008-06-061-0/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@742 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typos in references to HAVE_ETHER_NTOA_R and ↵Arthur de Jong2008-04-251-4/+4
| | | | | | HAVE_ETHER_ATON_R macros git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@696 ef36b2f9-881f-0410-afb5-c4e39611909c
* make test for compiler versions simpler and per used ↵Arthur de Jong2008-03-301-17/+27
| | | | | | attribute git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@647 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide replacements for ether_aton_r() and ↵Arthur de Jong2008-02-043-1/+103
| | | | | | ether_ntoa_r() for platforms that don't have them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@624 ef36b2f9-881f-0410-afb5-c4e39611909c
* only define MUST_USE attribute if gcc version is more ↵Arthur de Jong2008-01-311-8/+19
| | | | | | recent than 3.4 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@594 ef36b2f9-881f-0410-afb5-c4e39611909c
* move pagectrl code into compat directoryArthur de Jong2008-01-313-1/+264
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@592 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide replacement functions for daemon() and ↵Arthur de Jong2008-01-305-0/+248
| | | | | | getopt_long() when they are not available on the system git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@581 ef36b2f9-881f-0410-afb5-c4e39611909c
* define __STRING() if it's not defined by the systemArthur de Jong2008-01-301-0/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@579 ef36b2f9-881f-0410-afb5-c4e39611909c
* some fixes for LOCAL_PEERCRED (still untested)Arthur de Jong2008-01-301-6/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@577 ef36b2f9-881f-0410-afb5-c4e39611909c
* integrate some compatibility code into myldap.c, the ↵Arthur de Jong2008-01-271-32/+0
| | | | | | only place it's used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@575 ef36b2f9-881f-0410-afb5-c4e39611909c
* add (untested) support for the Solaris getpeerucred() ↵Arthur de Jong2008-01-262-2/+19
| | | | | | function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@566 ef36b2f9-881f-0410-afb5-c4e39611909c
* move code to get information from socket peer to the ↵Arthur de Jong2008-01-263-0/+153
| | | | | | compat directory because it is very platform specific git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@565 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unused tests and compatibility codeArthur de Jong2007-12-201-13/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@502 ef36b2f9-881f-0410-afb5-c4e39611909c
* some small layout changesArthur de Jong2007-12-091-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@491 ef36b2f9-881f-0410-afb5-c4e39611909c
* some simplifications in the reconnect loging, removing ↵Arthur de Jong2007-09-091-0/+45
| | | | | | the undocumented nss_reconnect_maxconntries configfile option and some work to split out LDAP compatibility code to a separate file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@388 ef36b2f9-881f-0410-afb5-c4e39611909c
* add gcc attributes to some functions and parametersArthur de Jong2007-02-171-0/+61
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@250 ef36b2f9-881f-0410-afb5-c4e39611909c