Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix indenting of codeArthur de Jong2012-09-032-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1748 ef36b2f9-881f-0410-afb5-c4e39611909c
* on Solaris store the errno value in NSS_ARGS(args)->erangeArthur de Jong2012-09-0310-47/+44
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1747 ef36b2f9-881f-0410-afb5-c4e39611909c
* include a missing castArthur de Jong2012-09-011-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1746 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide an alternative do_rebind() for Netscape LDAPArthur de Jong2012-09-011-0/+29
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1745 ef36b2f9-881f-0410-afb5-c4e39611909c
* include an explicit cast to int when printing gid_t ↵Arthur de Jong2012-09-011-2/+2
| | | | | | (fixes r1723) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1744 ef36b2f9-881f-0410-afb5-c4e39611909c
* mark file as executableArthur de Jong2012-08-311-0/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1736 ef36b2f9-881f-0410-afb5-c4e39611909c
* change the default value of sasl_canonicalize to yes ↵Arthur de Jong2012-08-313-3/+5
| | | | | | (thanks Marcus Moeller) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1735 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove variable definition that was introduced in r1626 ↵Arthur de Jong2012-08-141-1/+0
| | | | | | but should have been removed in r1714 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1734 ef36b2f9-881f-0410-afb5-c4e39611909c
* introduce a sasl_canonicalize option that will now, by ↵Arthur de Jong2012-08-146-0/+49
| | | | | | default, disable reverse host name lookups in OpenLDAP git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1733 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that all places where stdint.h is included it is ↵Arthur de Jong2012-07-233-0/+6
| | | | | | surrounded by #ifdefs git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1731 ef36b2f9-881f-0410-afb5-c4e39611909c
* only inlude stdint.h if we have itArthur de Jong2012-07-211-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1725 ef36b2f9-881f-0410-afb5-c4e39611909c
* add missing includes to ensure all types are defined in ↵Arthur de Jong2012-07-211-0/+2
| | | | | | header git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1724 ef36b2f9-881f-0410-afb5-c4e39611909c
* on startup have the gid option default to the primary ↵Arthur de Jong2012-07-205-23/+48
| | | | | | group of the specified user and load the user's supplementary groups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1723 ef36b2f9-881f-0410-afb5-c4e39611909c
* add an LDIF version of the ldapns.schema schema fileArthur de Jong2012-07-202-1/+16
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1722 ef36b2f9-881f-0410-afb5-c4e39611909c
* avoid setting tls_randfile twice and remove fixed FIXME ↵Arthur de Jong2012-07-151-3/+0
| | | | | | (fixed in r1717) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1721 ef36b2f9-881f-0410-afb5-c4e39611909c
* set the pynslcd process name if possibleArthur de Jong2012-07-151-0/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1720 ef36b2f9-881f-0410-afb5-c4e39611909c
* support getting pam_password_prohibit_message from ↵Arthur de Jong2012-07-151-1/+2
| | | | | | configuration (but don't handle it yet) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1719 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename internal pam_authz_search to pam_authz_searchesArthur de Jong2012-07-152-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1718 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly set most LDAP options from configurationArthur de Jong2012-07-151-2/+40
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1717 ef36b2f9-881f-0410-afb5-c4e39611909c
* also check pam_password_prohibit_message in ↵Arthur de Jong2012-07-111-0/+14
| | | | | | pam_sm_authenticate() because Solaris does authentication before pam_sm_chauthtok() (thanks Ted Cheng) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1716 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a pam_password_prohibit_message nslcd.conf ↵Arthur de Jong2012-07-0810-3/+149
| | | | | | option to deny password change introducing a NSLCD_ACTION_CONFIG_GET request thanks to Ted Cheng git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1715 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove duplicate getting of LDAP_OPT_DIAGNOSTIC_MESSAGE ↵Arthur de Jong2012-07-081-5/+0
| | | | | | (should have been part of r1639) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1714 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that cache.py is installed (thanks Jon Severinsson)Arthur de Jong2012-07-072-2/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1713 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.10 release0.8.10Arthur de Jong2012-06-297-9/+60
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1707 ef36b2f9-881f-0410-afb5-c4e39611909c
* update from latest automakeArthur de Jong2012-06-291-1/+10
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1706 ef36b2f9-881f-0410-afb5-c4e39611909c
* minor documentation touch-upsArthur de Jong2012-06-171-8/+7
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1705 ef36b2f9-881f-0410-afb5-c4e39611909c
* install the default configuration file with reduced ↵Arthur de Jong2012-06-151-1/+1
| | | | | | permissions (further protection for CVE-2009-1073) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1704 ef36b2f9-881f-0410-afb5-c4e39611909c
* log successful password change in nslcd and correctly ↵Arthur de Jong2012-06-151-0/+2
| | | | | | terminate protocol on password change failure git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1703 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix problem with returning wrong error code when ↵Arthur de Jong2012-06-151-3/+7
| | | | | | changing password with wrong old password (thanks Anton Helwart) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1702 ef36b2f9-881f-0410-afb5-c4e39611909c
* reword section on bug reporting and add a reference to ↵Arthur de Jong2012-05-251-4/+8
| | | | | | the ignorecase option on the case sensitivity section git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1701 ef36b2f9-881f-0410-afb5-c4e39611909c
* include list of required libraries and do not put ↵Arthur de Jong2012-05-251-5/+6
| | | | | | information on AUTHORS file on the patch requirements git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1700 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.9 release0.8.9Arthur de Jong2012-05-206-8/+101
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1695 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement extra range checking of all numeric valuesArthur de Jong2012-05-208-33/+38
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1694 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of a few compiler warnings on FreeBSDArthur de Jong2012-05-184-8/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1693 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide a compatibility version of struct spwd for ↵Arthur de Jong2012-05-112-1/+29
| | | | | | systems without it git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1690 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix fallback definition of SUN_LEN() (fixes r1686)Arthur de Jong2012-05-111-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1688 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide a compatibility definition of SUN_LEN() for ↵Arthur de Jong2012-05-095-4/+40
| | | | | | systems that lack it git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1686 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove duplicate debug from log messageArthur de Jong2012-05-091-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1685 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement PAM authorisation check using pam_authz_search ↵Arthur de Jong2012-05-041-3/+57
| | | | | | option git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1684 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore user-supplied DN for PAM requests and don't send ↵Arthur de Jong2012-05-041-25/+24
| | | | | | it back git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1683 ef36b2f9-881f-0410-afb5-c4e39611909c
* move expression handling to own moduleArthur de Jong2012-05-044-140/+187
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1682 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure search also works without attribute mapArthur de Jong2012-05-041-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1681 ef36b2f9-881f-0410-afb5-c4e39611909c
* small code style improvementsArthur de Jong2012-05-041-18/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1680 ef36b2f9-881f-0410-afb5-c4e39611909c
* allow the pam_authz_search option to be specified ↵Arthur de Jong2012-05-045-63/+88
| | | | | | multiple times git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1679 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't try to close _SC_OPEN_MAX file descriptorArthur de Jong2012-05-041-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1678 ef36b2f9-881f-0410-afb5-c4e39611909c
* move all PAM_AUTHTOK_RECOVERY_ERR compatibility ↵Arthur de Jong2012-05-022-12/+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
* documentation touch-upsArthur de Jong2012-04-291-79/+67
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1673 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.8 release0.8.8Arthur de Jong2012-04-276-4/+33
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1662 ef36b2f9-881f-0410-afb5-c4e39611909c
* add a schema file that some people use for PAMArthur de Jong2012-04-272-2/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1660 ef36b2f9-881f-0410-afb5-c4e39611909c
* split the functionality to read everything from the ↵Arthur de Jong2012-04-263-14/+30
| | | | | | stream into a separate function and don't assume we use non-blocking IO (fix r1637) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1659 ef36b2f9-881f-0410-afb5-c4e39611909c