Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* update copyright informationArthur de Jong2008-01-311-5/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@593 ef36b2f9-881f-0410-afb5-c4e39611909c
* move pagectrl code into compat directoryArthur de Jong2008-01-317-17/+13
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@592 ef36b2f9-881f-0410-afb5-c4e39611909c
* make comments lowercase for consistencyArthur de Jong2008-01-311-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@591 ef36b2f9-881f-0410-afb5-c4e39611909c
* re-add test URIs that accidentally got commented out in ↵Arthur de Jong2008-01-311-2/+2
| | | | | | the last commit git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@590 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass the correct pthread flags for all calls to compiler ↵Arthur de Jong2008-01-314-16/+24
| | | | | | and linker and link in compat code, handle other assert.h setups and avoid some ! in if statements in shell scripts git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@589 ef36b2f9-881f-0410-afb5-c4e39611909c
* improve LDAP library autodetection and make if ↵Arthur de Jong2008-01-311-14/+24
| | | | | | statements consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@588 ef36b2f9-881f-0410-afb5-c4e39611909c
* move finding of replacement functions to a more logical ↵Arthur de Jong2008-01-311-5/+6
| | | | | | place git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@587 ef36b2f9-881f-0410-afb5-c4e39611909c
* define extra macros to import system extensions from ↵Arthur de Jong2008-01-311-1/+1
| | | | | | system header files and remove duplicate check for ldap_set_rebind_proc() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@586 ef36b2f9-881f-0410-afb5-c4e39611909c
* test to see if the compiler supports certain -W flags ↵Arthur de Jong2008-01-311-1/+27
| | | | | | before using them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@585 ef36b2f9-881f-0410-afb5-c4e39611909c
* include stdint.hArthur de Jong2008-01-301-0/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@584 ef36b2f9-881f-0410-afb5-c4e39611909c
* use uint8_t instead of u_int8_t because the former seems ↵Arthur de Jong2008-01-303-6/+6
| | | | | | to be available on more platforms git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@583 ef36b2f9-881f-0410-afb5-c4e39611909c
* update some files from recent automakeArthur de Jong2008-01-303-123/+143
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@582 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide replacement functions for daemon() and ↵Arthur de Jong2008-01-306-0/+252
| | | | | | getopt_long() when they are not available on the system git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@581 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove duplicate warning flagsArthur de Jong2008-01-301-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@580 ef36b2f9-881f-0410-afb5-c4e39611909c
* define __STRING() if it's not defined by the systemArthur de Jong2008-01-301-0/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@579 ef36b2f9-881f-0410-afb5-c4e39611909c
* include errno in assertion statementArthur de Jong2008-01-301-27/+41
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@578 ef36b2f9-881f-0410-afb5-c4e39611909c
* some fixes for LOCAL_PEERCRED (still untested)Arthur de Jong2008-01-301-6/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@577 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated German (de) translation of debconf templates by ↵Arthur de Jong2008-01-272-201/+47
| | | | | | Erik Schanze <eriks@debian.org> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@576 ef36b2f9-881f-0410-afb5-c4e39611909c
* integrate some compatibility code into myldap.c, the ↵Arthur de Jong2008-01-273-36/+6
| | | | | | only place it's used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@575 ef36b2f9-881f-0410-afb5-c4e39611909c
* work around some LDAP libraries not having all optionsArthur de Jong2008-01-271-0/+13
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@573 ef36b2f9-881f-0410-afb5-c4e39611909c
* on some systems lber.h needs to be included before ldap.hArthur de Jong2008-01-272-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@572 ef36b2f9-881f-0410-afb5-c4e39611909c
* when including stdint.h check if we actually have itArthur de Jong2008-01-275-0/+10
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 ef36b2f9-881f-0410-afb5-c4e39611909c
* correct #endif commentArthur de Jong2008-01-272-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@570 ef36b2f9-881f-0410-afb5-c4e39611909c
* have a fallback value for HOST_NAME_MAX if it is not definedArthur de Jong2008-01-261-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@569 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle the case where /etc/nss-ldapd.conf does not exist ↵Arthur de Jong2008-01-261-0/+6
| | | | | | a little more graceful git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@568 ef36b2f9-881f-0410-afb5-c4e39611909c
* log error when getpeercred() returned nothingArthur de Jong2008-01-261-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@567 ef36b2f9-881f-0410-afb5-c4e39611909c
* add (untested) support for the Solaris getpeerucred() ↵Arthur de Jong2008-01-263-2/+21
| | | | | | function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@566 ef36b2f9-881f-0410-afb5-c4e39611909c
* move code to get information from socket peer to the ↵Arthur de Jong2008-01-267-25/+180
| | | | | | compat directory because it is very platform specific git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@565 ef36b2f9-881f-0410-afb5-c4e39611909c
* somewhat improve the output from the testsArthur de Jong2008-01-263-52/+52
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@564 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix marsing of map statementArthur de Jong2008-01-261-62/+62
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@563 ef36b2f9-881f-0410-afb5-c4e39611909c
* also test map filter and scope configuration optionsArthur de Jong2008-01-261-1/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@562 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix problem in map statement end-of-line handlingArthur de Jong2008-01-161-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@561 ef36b2f9-881f-0410-afb5-c4e39611909c
* add a test for the map statementArthur de Jong2008-01-161-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@560 ef36b2f9-881f-0410-afb5-c4e39611909c
* close connections in worker threads at program terminationArthur de Jong2008-01-031-1/+10
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@559 ef36b2f9-881f-0410-afb5-c4e39611909c
* make code a little more compact, don't include debug ↵Arthur de Jong2008-01-031-93/+6
| | | | | | twice in the log message and remove the capabilities code because it will probably never be used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@558 ef36b2f9-881f-0410-afb5-c4e39611909c
* support the case where + is in /etc/groupArthur de Jong2008-01-031-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@557 ef36b2f9-881f-0410-afb5-c4e39611909c
* only start the NSLCD_ACTION_*_ALL requests with the ↵Arthur de Jong2008-01-0312-56/+51
| | | | | | first call to getent() instead of with setent() to avoid unneeded requests if compat is used (except with netgroups) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@556 ef36b2f9-881f-0410-afb5-c4e39611909c
* update copyright yearArthur de Jong2008-01-032-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@555 ef36b2f9-881f-0410-afb5-c4e39611909c
* get the number of groups and services from files in /etc ↵Arthur de Jong2008-01-031-4/+3
| | | | | | for comparison git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@554 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not warn about missing loginShell attribute because ↵Arthur de Jong2008-01-031-2/+0
| | | | | | it is not mandatory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@553 ef36b2f9-881f-0410-afb5-c4e39611909c
* increment value that is pointed to, not the pointer ↵Arthur de Jong2008-01-031-1/+1
| | | | | | (fixes segfault) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@552 ef36b2f9-881f-0410-afb5-c4e39611909c
* immediatly bail out if write entity function failed ↵Arthur de Jong2008-01-021-1/+2
| | | | | | (prevents numerous "error writing to client" messages from filling up the logs) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@551 ef36b2f9-881f-0410-afb5-c4e39611909c
* check to see if nslcd is running and add test for a ↵Arthur de Jong2008-01-011-4/+24
| | | | | | large group (100 members) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@550 ef36b2f9-881f-0410-afb5-c4e39611909c
* enable the _nss_ldap_initgroups_dyn() function that is ↵Arthur de Jong2008-01-013-8/+2
| | | | | | now implemented in nslcd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@549 ef36b2f9-881f-0410-afb5-c4e39611909c
* use the new tio_mark()/tio_reset() functions to support ↵Arthur de Jong2008-01-011-7/+16
| | | | | | retries of the getent() functions when NSS_STATUS_TRYAGAIN would be returned git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@548 ef36b2f9-881f-0410-afb5-c4e39611909c
* add limited implementation of tio_mark() and tio_reset() ↵Arthur de Jong2008-01-013-31/+152
| | | | | | functions to do limited seeks in the read stream, clean up header file comments and write tests for new code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@547 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix get_userpassword() function descriptionArthur de Jong2007-12-311-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@546 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix incorrect references to attribute map entriesArthur de Jong2007-12-311-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@545 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove TODO (was done)Arthur de Jong2007-12-311-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@544 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix bug that would return a password of one character shortArthur de Jong2007-12-311-6/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@543 ef36b2f9-881f-0410-afb5-c4e39611909c