Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.8.13 release0.8.13Arthur de Jong2013-05-057-14/+205
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1959 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove not needed define (r1897 from 0.9)Arthur de Jong2013-05-051-4/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1958 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some missing checks to the configure script (117327e ↵Arthur de Jong2013-05-051-6/+8
| | | | | | from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1957 ef36b2f9-881f-0410-afb5-c4e39611909c
* make the NSS tests dependant on the configuration of ↵Arthur de Jong2013-05-051-1/+45
| | | | | | nsswitch.conf (302c2fa from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1956 ef36b2f9-881f-0410-afb5-c4e39611909c
* support systems without ETIME (5e0bb05 from 0.9)Arthur de Jong2013-05-051-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1955 ef36b2f9-881f-0410-afb5-c4e39611909c
* small portability fix in test_pamcmds.sh (24c565c from 0.9)Arthur de Jong2013-05-051-2/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1954 ef36b2f9-881f-0410-afb5-c4e39611909c
* guess the value for --with-pam-seclib-dir if it is not ↵Arthur de Jong2013-05-051-2/+12
| | | | | | specified (0b5b4d1 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1953 ef36b2f9-881f-0410-afb5-c4e39611909c
* various typo and other comment fixes (4b01125, b0785de, ↵Arthur de Jong2013-04-2810-20/+22
| | | | | | bfdf7cd, 4689d5f, dba048b, ebe5705 and 122c38d from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1950 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not rely on printf() being able to print NULL strings ↵Arthur de Jong2013-04-281-7/+14
| | | | | | (8790b40 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1949 ef36b2f9-881f-0410-afb5-c4e39611909c
* the argument to nss_min_uid must be numericArthur de Jong2013-04-281-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1948 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle the case where getpwuid() returns NULLArthur de Jong2013-04-281-5/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1947 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix the way manual pages are installed (b5b4239 from 0.9)Arthur de Jong2013-04-281-6/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1946 ef36b2f9-881f-0410-afb5-c4e39611909c
* define and export an _nss_ldap_version symbol (3155cdf ↵Arthur de Jong2013-04-284-1/+17
| | | | | | and 11283a5 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1945 ef36b2f9-881f-0410-afb5-c4e39611909c
* return NSS_STATUS_TRYAGAIN on zero-length (but not-NULL) ↵Arthur de Jong2013-04-281-1/+6
| | | | | | buffer (thanks Jakub Hrozek) (f21efd6 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1944 ef36b2f9-881f-0410-afb5-c4e39611909c
* only log protocol name if it is present (6a92621 and ↵Arthur de Jong2013-04-281-3/+3
| | | | | | 402d3f3 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1943 ef36b2f9-881f-0410-afb5-c4e39611909c
* drop -Wcase-qual when using --enable-warnings because it ↵Arthur de Jong2013-04-281-3/+3
| | | | | | was causing too much noise (r1908 aka. 2a73fa1 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1942 ef36b2f9-881f-0410-afb5-c4e39611909c
* revert r1939 because it doesn't work on 0.8Arthur de Jong2013-04-281-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1941 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix the text representation of shadow information for ↵Arthur de Jong2013-04-281-7/+7
| | | | | | nscd on Solaris git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1940 ef36b2f9-881f-0410-afb5-c4e39611909c
* save the old password if either the authentication or ↵Arthur de Jong2013-04-281-2/+2
| | | | | | the authorisation response is NEW_AUTHTOK_REQD (c89c41b from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1939 ef36b2f9-881f-0410-afb5-c4e39611909c
* retry updating the lastChange attribute with the normal ↵Arthur de Jong2013-04-281-3/+6
| | | | | | nslcd LDAP connection if the update with the user's connection failed (2f6f6a2 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1938 ef36b2f9-881f-0410-afb5-c4e39611909c
* extra sanity check to ensure not too many file ↵Arthur de Jong2013-02-231-2/+7
| | | | | | descriptors are open (a9aea20f136026d6553295727350c88fe2431e0c from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1935 ef36b2f9-881f-0410-afb5-c4e39611909c
* check result of set_tolist() to ensure that memory ↵Arthur de Jong2013-02-234-3/+23
| | | | | | allocation problems are logged (r1911 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1934 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix memory leak in myldap_get_values_len() when using ↵Arthur de Jong2013-02-231-0/+6
| | | | | | ranged attributes (very unlikely to occur) (r1910 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1933 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a problem in memory handling in ↵Arthur de Jong2013-02-231-2/+4
| | | | | | myldap_get_values_len() if malloc() would fail (r1909 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1932 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix the way manual pages are generated and distributedArthur de Jong2013-01-161-17/+16
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1919 ef36b2f9-881f-0410-afb5-c4e39611909c
* correctly handle the case where the gid option is before ↵Arthur de Jong2013-01-111-2/+2
| | | | | | the uid option in the configuration (fixes r1723) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1907 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't process the passwd_byuid request at all for uids < ↵Arthur de Jong2012-12-201-0/+1
| | | | | | nss_min_uid (r1870 from trunk) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1871 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix logic error (use && instead of & for logical and) ↵Arthur de Jong2012-12-201-1/+1
| | | | | | (r1868 from trunk) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1869 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix setting deadline microsecond value (thanks Julien ↵Arthur de Jong2012-12-081-1/+1
| | | | | | Cristau) (r1848 from trunk) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1850 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix the way ChangeLog is generated for branchArthur de Jong2012-11-181-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1837 ef36b2f9-881f-0410-afb5-c4e39611909c
* start a 0.8 maintenance branchArthur de Jong2012-11-180-0/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1836 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.12 release0.8.12Arthur de Jong2012-11-188-11/+137
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1834 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly initialise passwd.pw_class on FreeBSD to empty ↵Arthur de Jong2012-11-182-0/+8
| | | | | | string (was set to NULL due to the memset which was introduced in r1767) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1833 ef36b2f9-881f-0410-afb5-c4e39611909c
* use pam_modutil_getpwnam() instead of getpwnam() in PAM ↵Arthur de Jong2012-11-171-1/+1
| | | | | | module git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1832 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix formatting and improve consistency in manaual pagesArthur de Jong2012-11-172-16/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1831 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove dots from short description in manual pageArthur de Jong2012-11-162-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1828 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix comment in headerArthur de Jong2012-11-161-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1827 ef36b2f9-881f-0410-afb5-c4e39611909c
* to only set LDAP_OPT_X_SASL_NOCANON if the ↵Arthur de Jong2012-11-135-6/+11
| | | | | | sasl_canonicalize option is explicitly set in the configuration file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1824 ef36b2f9-881f-0410-afb5-c4e39611909c
* log the PAM error message along with the message from ↵Arthur de Jong2012-11-111-1/+5
| | | | | | nslcd if it is available git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1823 ef36b2f9-881f-0410-afb5-c4e39611909c
* add a .gitignore file for those working with gitArthur de Jong2012-11-111-0/+66
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1822 ef36b2f9-881f-0410-afb5-c4e39611909c
* set FD_CLOEXEC in NSS and PAM modules to ensure that ↵Arthur de Jong2012-11-111-0/+6
| | | | | | nslcd file descriptor is not leaked to child processes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1821 ef36b2f9-881f-0410-afb5-c4e39611909c
* log connection message before clearing error indicators ↵Arthur de Jong2012-11-111-3/+3
| | | | | | to not hide these log messages in most configurations (fixes r1095) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1814 ef36b2f9-881f-0410-afb5-c4e39611909c
* refactor the read_result() functions into a common macro ↵Arthur de Jong2012-10-2811-319/+125
| | | | | | and move all the Solaris-specific definitions to solnss.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1812 ef36b2f9-881f-0410-afb5-c4e39611909c
* combine read_hostent_erronempty() and ↵Arthur de Jong2012-10-281-67/+31
| | | | | | read_hostent_nextonempty() into a read_hostent() with a retry parameter git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1811 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo (thanks Ted C. Cheng)Arthur de Jong2012-10-281-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1810 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix buffer size checking in group by member NSS function ↵Arthur de Jong2012-10-261-1/+9
| | | | | | on Solaris git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1809 ef36b2f9-881f-0410-afb5-c4e39611909c
* introduce ent2str() functions for each database (except ↵Arthur de Jong2012-10-2610-364/+416
| | | | | | ether and netgroup) and make buffer handling consistent (for Solaris) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1808 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove duplicate checks from the configure scriptArthur de Jong2012-10-211-2/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1807 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore generated pynslcd manual pagesArthur de Jong2012-10-210-0/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1806 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a problem on Solaris (fixes r1793)Arthur de Jong2012-10-211-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1805 ef36b2f9-881f-0410-afb5-c4e39611909c