Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix the way manual pages are generated and distributedArthur de Jong2013-01-161-11/+14
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1918 ef36b2f9-881f-0410-afb5-c4e39611909c
* support children search scope for systems that have itArthur de Jong2013-01-144-3/+15
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1917 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix parsing of scope option in pynslcdArthur de Jong2013-01-141-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1916 ef36b2f9-881f-0410-afb5-c4e39611909c
* support systems without ETIMEArthur de Jong2013-01-141-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1915 ef36b2f9-881f-0410-afb5-c4e39611909c
* check whether setnetgrent() returns int or void (for ↵Arthur de Jong2013-01-142-1/+23
| | | | | | FreeBSD) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1914 ef36b2f9-881f-0410-afb5-c4e39611909c
* reorganise configuration file parsing codeArthur de Jong2013-01-122-599/+577
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1913 ef36b2f9-881f-0410-afb5-c4e39611909c
* have myldap_get_ranged_values() return a list of values ↵Arthur de Jong2013-01-121-19/+13
| | | | | | instead of a set git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1912 ef36b2f9-881f-0410-afb5-c4e39611909c
* check result of set_tolist() to ensure that memory ↵Arthur de Jong2013-01-124-3/+23
| | | | | | allocation problems are logged git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1911 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix memory leak in myldap_get_values_len() when using ↵Arthur de Jong2013-01-121-0/+6
| | | | | | ranged attributes (very unlikely to occur) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1910 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a problem in memory handling in ↵Arthur de Jong2013-01-121-2/+4
| | | | | | myldap_get_values_len() if malloc() would fail git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1909 ef36b2f9-881f-0410-afb5-c4e39611909c
* drop -Wcase-qual when using --enable-warnings because it ↵Arthur de Jong2013-01-121-3/+3
| | | | | | was causing too much noise git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1908 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo in commentArthur de Jong2013-01-101-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1906 ef36b2f9-881f-0410-afb5-c4e39611909c
* request and parse password policy controls when doing ↵Arthur de Jong2013-01-061-8/+33
| | | | | | user authentication in pynslcd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1905 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not recheck the user password in first password phase ↵Arthur de Jong2013-01-061-9/+5
| | | | | | if it was stored in the authentication phase git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1904 ef36b2f9-881f-0410-afb5-c4e39611909c
* perform search for pam_authz_search on all search basesArthur de Jong2013-01-061-32/+44
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1903 ef36b2f9-881f-0410-afb5-c4e39611909c
* some simplifications in the current pynslcd PAM request ↵Arthur de Jong2013-01-051-9/+11
| | | | | | handling git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1902 ef36b2f9-881f-0410-afb5-c4e39611909c
* update FIXMEsArthur de Jong2013-01-052-2/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1901 ef36b2f9-881f-0410-afb5-c4e39611909c
* change ethernet address formatting from FIXME to noteArthur de Jong2013-01-051-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1900 ef36b2f9-881f-0410-afb5-c4e39611909c
* save the old password if either the authentication or ↵Arthur de Jong2013-01-051-2/+2
| | | | | | the authorisation response is NEW_AUTHTOK_REQD git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1899 ef36b2f9-881f-0410-afb5-c4e39611909c
* inline most is_valid_...() functionsArthur de Jong2013-01-051-27/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1898 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove not needed defineArthur de Jong2013-01-051-4/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1897 ef36b2f9-881f-0410-afb5-c4e39611909c
* log hex values when debugging the protocolArthur de Jong2013-01-051-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1896 ef36b2f9-881f-0410-afb5-c4e39611909c
* log and return a diagnostic message instead of just the ↵Arthur de Jong2013-01-013-7/+49
| | | | | | LDAP error on password change failure git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1895 ef36b2f9-881f-0410-afb5-c4e39611909c
* retry updating the lastChange attribute with the normal ↵Arthur de Jong2013-01-011-3/+6
| | | | | | nslcd LDAP connection if the update with the user's connection failed git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1894 ef36b2f9-881f-0410-afb5-c4e39611909c
* update pynslcd PAM protocol handling to be in line with ↵Arthur de Jong2013-01-011-14/+14
| | | | | | r1865 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1893 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix setting restart option log message (fixes r1889)Arthur de Jong2013-01-011-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1892 ef36b2f9-881f-0410-afb5-c4e39611909c
* code style fixArthur de Jong2012-12-301-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1891 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove deprecated use_sasl, reconnect_tries, ↵Arthur de Jong2012-12-301-18/+2
| | | | | | reconnect_maxsleeptime and tls_checkpeer options which have been replaced some time ago git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1890 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove undocumented restart configuration optionArthur de Jong2012-12-303-14/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1889 ef36b2f9-881f-0410-afb5-c4e39611909c
* reorganise and rename configuration options to be in ↵Arthur de Jong2012-12-306-113/+84
| | | | | | line with manual page git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1888 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove the ldc_ prefix from struct ldap_config fieldsArthur de Jong2012-12-3019-305/+295
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1887 ef36b2f9-881f-0410-afb5-c4e39611909c
* use the newer style AM_INIT_AUTOMAKEArthur de Jong2012-12-301-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1886 ef36b2f9-881f-0410-afb5-c4e39611909c
* add dependency information to regenerate constants.pyArthur de Jong2012-12-301-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1885 ef36b2f9-881f-0410-afb5-c4e39611909c
* make the way manual pages are selected for installation ↵Arthur de Jong2012-12-301-14/+10
| | | | | | more maintainable git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1884 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unnecessary commentArthur de Jong2012-12-291-4/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1883 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a lookup_netgroup command for systems that ↵Arthur de Jong2012-12-293-1/+58
| | | | | | cannot use getent to list netgroups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1882 ef36b2f9-881f-0410-afb5-c4e39611909c
* another comment typo fixArthur de Jong2012-12-281-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1881 ef36b2f9-881f-0410-afb5-c4e39611909c
* re-order enum values to use the same order as elsewhereArthur de Jong2012-12-281-6/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1880 ef36b2f9-881f-0410-afb5-c4e39611909c
* more comment fixesArthur de Jong2012-12-243-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1879 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo in commentArthur de Jong2012-12-241-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1878 ef36b2f9-881f-0410-afb5-c4e39611909c
* move the action argument to NSLCD_HANDLE to the frontArthur de Jong2012-12-2312-65/+35
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1877 ef36b2f9-881f-0410-afb5-c4e39611909c
* merge NSS_BYNAME and NSS_BYINT32 into NSS_BYGEN and ↵Arthur de Jong2012-12-2311-111/+102
| | | | | | rename to NSS_GETONE git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1876 ef36b2f9-881f-0410-afb5-c4e39611909c
* adapt Solaris netgroup lookup codeArthur de Jong2012-12-231-81/+83
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1875 ef36b2f9-881f-0410-afb5-c4e39611909c
* update the netgroup by name request to have one result ↵Arthur de Jong2012-12-235-98/+116
| | | | | | entry per netgroup with multiple rows within one result git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1874 ef36b2f9-881f-0410-afb5-c4e39611909c
* update C coding style to a more commonly used styleArthur de Jong2012-12-2283-6260/+6488
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 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 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1870 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix logic error (use && instead of & for logical and)Arthur de Jong2012-12-201-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1868 ef36b2f9-881f-0410-afb5-c4e39611909c
* also no longer use NSS_BYINT32() in Solaris (fixes r1864)Arthur de Jong2012-12-163-9/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1867 ef36b2f9-881f-0410-afb5-c4e39611909c
* make nslcd actions hexadecimal values with some ↵Arthur de Jong2012-12-162-44/+44
| | | | | | structure to make debugging easier git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1866 ef36b2f9-881f-0410-afb5-c4e39611909c
* change PAM protocol to be more consistent and simplerArthur de Jong2012-12-164-260/+288
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1865 ef36b2f9-881f-0410-afb5-c4e39611909c