Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.6.3 release0.6.3Arthur de Jong2008-06-157-18/+255
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@767 ef36b2f9-881f-0410-afb5-c4e39611909c
* lintian override seems to be no longer necessaryArthur de Jong2008-06-153-9/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@766 ef36b2f9-881f-0410-afb5-c4e39611909c
* upgrade to standards-version 3.8.0 (no changes needed)Arthur de Jong2008-06-151-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@765 ef36b2f9-881f-0410-afb5-c4e39611909c
* create /var/run/nslcd directory with owner nslcd:nslcd ↵Arthur de Jong2008-06-151-2/+4
| | | | | | by default so nslcd can remove socket and pidfile at exit git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@764 ef36b2f9-881f-0410-afb5-c4e39611909c
* give pidfile and socket creation functions more logical ↵Arthur de Jong2008-06-151-4/+4
| | | | | | names git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@763 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement SASL authentication based on a patch by Dan ↵Arthur de Jong2008-06-146-46/+135
| | | | | | White <dwhite@olp.net> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@762 ef36b2f9-881f-0410-afb5-c4e39611909c
* make formatting of manual page options consistentArthur de Jong2008-06-141-69/+92
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@761 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some very basic tests for the isvalidname() functionArthur de Jong2008-06-132-2/+56
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@760 ef36b2f9-881f-0410-afb5-c4e39611909c
* combine isvalidusername() and isvalidgroupname() into ↵Arthur de Jong2008-06-134-90/+43
| | | | | | isvalidname() because they are similar enough and we just want to check to see if it is a reasonable name (e.g. not a DN) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@759 ef36b2f9-881f-0410-afb5-c4e39611909c
* restore the old writing code which masks SIGPIPE on ↵Arthur de Jong2008-06-121-0/+21
| | | | | | platforms that can't use send() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@758 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't perform SSL/TLS sanity checks if it isn't ↵Arthur de Jong2008-06-121-0/+4
| | | | | | available on the platform git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@757 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore test_getpeercredArthur de Jong2008-06-120-0/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@756 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore core filesArthur de Jong2008-06-110-0/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@755 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove test socket at end of testArthur de Jong2008-06-111-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@754 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
* implement a very basic test for getpeercred()Arthur de Jong2008-06-062-2/+147
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@752 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove warning on using ssl optionArthur de Jong2008-06-061-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@751 ef36b2f9-881f-0410-afb5-c4e39611909c
* check that all URLs start with https:// if "ssl on" is ↵Arthur de Jong2008-06-061-0/+12
| | | | | | specified git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@750 ef36b2f9-881f-0410-afb5-c4e39611909c
* also set TLS options if an ldaps:// URL is specifiedArthur de Jong2008-06-061-2/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@749 ef36b2f9-881f-0410-afb5-c4e39611909c
* add dependency on adduser as required by the previous commitArthur de Jong2008-06-061-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@748 ef36b2f9-881f-0410-afb5-c4e39611909c
* create a nslcd user in postinst and ensure that it is ↵Arthur de Jong2008-06-061-0/+24
| | | | | | used by default git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@747 ef36b2f9-881f-0410-afb5-c4e39611909c
* add uid and gid options to manual pageArthur de Jong2008-06-061-0/+26
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@746 ef36b2f9-881f-0410-afb5-c4e39611909c
* add uid and gid configuration keywords that set the user ↵Arthur de Jong2008-06-063-10/+84
| | | | | | id and group id of the running nslcd process git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@745 ef36b2f9-881f-0410-afb5-c4e39611909c
* environ is defined in unistd.hArthur de Jong2008-06-061-3/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@744 ef36b2f9-881f-0410-afb5-c4e39611909c
* increase write buffer size in nslcd to free up threads ↵Arthur de Jong2008-06-062-4/+10
| | | | | | earlier and increase timeout for nslcd to nss communication to one minute (at both places) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@743 ef36b2f9-881f-0410-afb5-c4e39611909c
* miscellaneous portability improvementsArthur de Jong2008-06-066-5/+28
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@742 ef36b2f9-881f-0410-afb5-c4e39611909c
* from a review of glibc 2.3.6 code it shows that ↵Arthur de Jong2008-05-181-1/+0
| | | | | | strerror() is only non-threadsafe in some very unlikely circumstances git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@741 ef36b2f9-881f-0410-afb5-c4e39611909c
* use send() with a flag to ignore SIGPIPE instead of ↵Arthur de Jong2008-05-171-15/+3
| | | | | | write() so we don't have to muck with signal handlers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@740 ef36b2f9-881f-0410-afb5-c4e39611909c
* include a random string in every log message to be able ↵Arthur de Jong2008-05-163-5/+48
| | | | | | to group log messages for a single request git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@739 ef36b2f9-881f-0410-afb5-c4e39611909c
* add sanity checks to sleep calls to never sleep too long ↵Arthur de Jong2008-05-162-4/+16
| | | | | | (problems could occur when the clock moves backwards) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@738 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove comment about limitation that has now been removedArthur de Jong2008-05-161-4/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@737 ef36b2f9-881f-0410-afb5-c4e39611909c
* grow the read buffer maximum size to 2Mbyte to allow for ↵Arthur de Jong2008-05-161-1/+1
| | | | | | groups with about 150000 members maximum git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@736 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some documentation on supported group to member mappingsArthur de Jong2008-05-151-1/+25
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@735 ef36b2f9-881f-0410-afb5-c4e39611909c
* improve documentation for myldap_get_rdn_value() functionArthur de Jong2008-05-151-5/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@734 ef36b2f9-881f-0410-afb5-c4e39611909c
* close the connection and retry the search (once) if the ↵Arthur de Jong2008-05-111-0/+24
| | | | | | search fails with the first call to myldap_get_entry() (starting a search doesn't always give an error when the connection has been broken) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@733 ef36b2f9-881f-0410-afb5-c4e39611909c
* split retry mechanism of myldap_search() into a new ↵Arthur de Jong2008-05-111-45/+58
| | | | | | do_retry_search() function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@732 ef36b2f9-881f-0410-afb5-c4e39611909c
* allocate the search memory region in myldap_search() ↵Arthur de Jong2008-05-111-31/+27
| | | | | | instead of in do_try_search() and have the latter return an LDAP status code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@731 ef36b2f9-881f-0410-afb5-c4e39611909c
* also allow closing of searches that no longer have a ↵Arthur de Jong2008-05-111-19/+13
| | | | | | valid connection and integrate myldap_search_free() into myldap_search_close() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@730 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.6.2 release0.6.2Arthur de Jong2008-05-047-13/+380
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@728 ef36b2f9-881f-0410-afb5-c4e39611909c
* some documentation cleanups and updatesArthur de Jong2008-05-042-21/+30
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@727 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some tests for isvalidgroupname()Arthur de Jong2008-05-041-0/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@726 ef36b2f9-881f-0410-afb5-c4e39611909c
* make number of threads configurable with the threads keywordArthur de Jong2008-05-044-6/+39
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@725 ef36b2f9-881f-0410-afb5-c4e39611909c
* add reference to note about thread-safeness of OpenLDAPArthur de Jong2008-05-041-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@724 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix copyright yearArthur de Jong2008-05-041-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@723 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a cache for dn2uid() lookups that saves some ↵Arthur de Jong2008-05-031-24/+81
| | | | | | time doing LDAP searches for groups with a lot of members, based on a patch by Petter Reinholdtsen <pere@hungry.com> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@722 ef36b2f9-881f-0410-afb5-c4e39611909c
* add soft dependency on slapd, simplify network and file ↵Arthur de Jong2008-05-031-4/+4
| | | | | | system dependencies and add reverse dependencies on some common daemons that may want to do NSS lookups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@721 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove checking for first entry and always return ↵Arthur de Jong2008-05-022-14/+7
| | | | | | NSS_STATUS_RETURN when no more data is available in the netgroup (this has the side effect of not returning NSS_STATUS_NOTFOUND for non-existing netgroups but seems to be what other NSS modules do) to properly handle empty netgroups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@720 ef36b2f9-881f-0410-afb5-c4e39611909c
* add file for testing nslcd/group.cArthur de Jong2008-05-022-1/+138
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@719 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't even compile the test programs on make checkArthur de Jong2008-05-021-2/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@718 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't compile test code on every build and fix LDADD ↵Arthur de Jong2008-05-021-9/+8
| | | | | | lists to include correct objects git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@717 ef36b2f9-881f-0410-afb5-c4e39611909c