Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* make a pynslcd manual page and install it if pynslcd is ↵Arthur de Jong2012-10-213-2/+154
| | | | | | enabled (and small fix in nslcd manual page) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1804 ef36b2f9-881f-0410-afb5-c4e39611909c
* allow attribute options in attribute mapping expressionsArthur de Jong2012-10-192-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1803 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.11 release0.8.11Arthur de Jong2012-10-146-8/+305
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1798 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove extra code that sets PACKAGE_URL (which isn't used)Arthur de Jong2012-10-141-6/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1797 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not clear the netgroup struct because it contains ↵Arthur de Jong2012-10-141-1/+0
| | | | | | information for others as well (fixes r1767) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1796 ef36b2f9-881f-0410-afb5-c4e39611909c
* if nslcd creates the state directory, try to set the ↵Arthur de Jong2012-10-141-2/+8
| | | | | | right ownership git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1795 ef36b2f9-881f-0410-afb5-c4e39611909c
* include missing definition (fixes r1793)Arthur de Jong2012-10-131-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1794 ef36b2f9-881f-0410-afb5-c4e39611909c
* do proper range checking and replace READ_RESULT macro ↵Arthur de Jong2012-10-131-30/+28
| | | | | | with read_result function (Solaris) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1793 ef36b2f9-881f-0410-afb5-c4e39611909c
* return correct error for buffer too small (Solaris)Arthur de Jong2012-10-131-1/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1792 ef36b2f9-881f-0410-afb5-c4e39611909c
* in ether handling only write to output values and return ↵Arthur de Jong2012-10-132-7/+10
| | | | | | correct error for buffer too small git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1791 ef36b2f9-881f-0410-afb5-c4e39611909c
* on Solaris initialise the output valuesArthur de Jong2012-10-131-2/+15
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1790 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix code indentationArthur de Jong2012-10-131-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1789 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide alternatives for assertion failures on Solaris ↵Arthur de Jong2012-10-131-1/+7
| | | | | | and FreeBSD git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1787 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass CPPFLAGS and LDFLAGS to distcheck's configure and ↵Arthur de Jong2012-10-131-2/+4
| | | | | | put nslcd.conf under prefix git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1786 ef36b2f9-881f-0410-afb5-c4e39611909c
* use $(top_srcdir)/nslcd.h instead of $< to avoid ↵Arthur de Jong2012-10-131-1/+1
| | | | | | problems with FreeBSD's make git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1785 ef36b2f9-881f-0410-afb5-c4e39611909c
* update tests to new tio interface (fixes r1783)Arthur de Jong2012-10-131-22/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1784 ef36b2f9-881f-0410-afb5-c4e39611909c
* use poll() instead of select() for checking file ↵Arthur de Jong2012-10-124-109/+57
| | | | | | descriptor activity to also correctly work if more than FD_SETSIZE files are already open git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1783 ef36b2f9-881f-0410-afb5-c4e39611909c
* check if the file descriptor can be stored in the ↵Arthur de Jong2012-10-121-0/+15
| | | | | | select() file descriptor set git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1781 ef36b2f9-881f-0410-afb5-c4e39611909c
* small clarifications to shadow propertiesArthur de Jong2012-10-121-6/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1780 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix problem storing negative hit to dn2uid cache (thanks ↵Arthur de Jong2012-09-161-1/+1
| | | | | | scan-build) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1771 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix logic error when falling back to getting ranged ↵Arthur de Jong2012-09-161-1/+4
| | | | | | attribute values for possibly binary attributes (thanks scan-build) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1770 ef36b2f9-881f-0410-afb5-c4e39611909c
* swap values and buf assignment to avoid compiler ↵Arthur de Jong2012-09-161-3/+3
| | | | | | alignment warnings git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1769 ef36b2f9-881f-0410-afb5-c4e39611909c
* only check nsswitch.conf for shadow mapping on glibc ↵Arthur de Jong2012-09-151-0/+10
| | | | | | (Solaris shadow map follows passwd's mapping and FreeBSD doesn't have shadow at all) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1768 ef36b2f9-881f-0410-afb5-c4e39611909c
* clear the *ent structs before writing fields to avoid ↵Arthur de Jong2012-09-1511-1/+12
| | | | | | problems with extra fields (fixes password field weirdness on Solaris 10) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1767 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix host name lookups for Solaris (tested with Solaris 10)Arthur de Jong2012-09-141-75/+52
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1766 ef36b2f9-881f-0410-afb5-c4e39611909c
* use the standard constructor and destructor eventhough ↵Arthur de Jong2012-09-141-13/+2
| | | | | | be->fp isn't used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1765 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix ethernet lookups for Solaris (tested with Solaris 10)Arthur de Jong2012-09-141-39/+39
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1764 ef36b2f9-881f-0410-afb5-c4e39611909c
* grow all search filter buffers to 4096 bytes (thanks flavio)Arthur de Jong2012-09-1411-22/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1763 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename filter_buffer to filter for consistencyArthur de Jong2012-09-141-6/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1762 ef36b2f9-881f-0410-afb5-c4e39611909c
* archive older ChangeLog entries in year filesArthur de Jong2012-09-083-1120/+745
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1761 ef36b2f9-881f-0410-afb5-c4e39611909c
* a few fixes in the Solaris group lookupsArthur de Jong2012-09-031-4/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1749 ef36b2f9-881f-0410-afb5-c4e39611909c
* 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