Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.6 release0.6Arthur de Jong2008-02-037-12/+468
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@618 ef36b2f9-881f-0410-afb5-c4e39611909c
* also check for sasl2 libraryArthur de Jong2008-02-031-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@617 ef36b2f9-881f-0410-afb5-c4e39611909c
* add tests for new LDAP lookupsArthur de Jong2008-02-032-2/+49
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@616 ef36b2f9-881f-0410-afb5-c4e39611909c
* support the uniqueMember LDAP attribute that holds DN ↵Arthur de Jong2008-02-033-40/+144
| | | | | | values (they are translated with dn2uid() from passwd.c) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@615 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't use dh_makeshlibs any more because we don't need ↵Arthur de Jong2008-02-033-1/+10
| | | | | | the shlibs file; call ldconfig from maintainer scripts ourselves git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@614 ef36b2f9-881f-0410-afb5-c4e39611909c
* install the NSS library under /lib instead of /usr/lib ↵Arthur de Jong2008-02-031-0/+1
| | | | | | to make it easyer to unmount /usr if it's on a separate filesystem git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@613 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't pass options to configure which are not usedArthur de Jong2008-02-021-3/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@612 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove --with-ngroups option because it isn't usedArthur de Jong2008-02-021-8/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@611 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a dn2uid() function to transform a DN into a ↵Arthur de Jong2008-02-022-1/+46
| | | | | | username (looking inside the DN or doing an LDAP lookup if neede) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@610 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement myldap_cpy_rdn_value() function to copy rdn ↵Arthur de Jong2008-02-022-19/+67
| | | | | | value into a buffer (functionality like myldap_get_rdn_value()) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@609 ef36b2f9-881f-0410-afb5-c4e39611909c
* log and otherwise ignore errors in ldap_parse_page_control()Arthur de Jong2008-02-021-3/+10
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@608 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix copy-pastoArthur de Jong2008-02-021-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@607 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't request paging when doing a search with scope base ↵Arthur de Jong2008-02-021-6/+11
| | | | | | and ignore errors of ldap_create_page_control() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@606 ef36b2f9-881f-0410-afb5-c4e39611909c
* reset LDAP error flag if ldap_get_values() returned an ↵Arthur de Jong2008-02-021-1/+6
| | | | | | error because some LDAP functions don't do this correctly git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@605 ef36b2f9-881f-0410-afb5-c4e39611909c
* have proper checks and logs of all ldap operationsArthur de Jong2008-02-011-9/+30
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@604 ef36b2f9-881f-0410-afb5-c4e39611909c
* enable _nss_ldap_initgroups_dyn() test because it's ↵Arthur de Jong2008-02-011-6/+2
| | | | | | working now git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@603 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix buffer size debug messageArthur de Jong2008-02-011-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@602 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not set errno (and h_errno) if we got the last entry ↵Arthur de Jong2008-02-014-24/+1
| | | | | | from get*ent() (this apparently is needed by coreutils' id and groups commands) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@601 ef36b2f9-881f-0410-afb5-c4e39611909c
* pagectrl module has movedArthur de Jong2008-02-011-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@600 ef36b2f9-881f-0410-afb5-c4e39611909c
* test for hugegroupArthur de Jong2008-02-011-1/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@599 ef36b2f9-881f-0410-afb5-c4e39611909c
* the groups command no longer lists the usernameArthur de Jong2008-02-011-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@598 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove the nslcd2nss() function because it's not needed ↵Arthur de Jong2008-02-016-21/+5
| | | | | | with the current protocol git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@597 ef36b2f9-881f-0410-afb5-c4e39611909c
* fail with a permanent error if resetting the stream ↵Arthur de Jong2008-02-011-0/+3
| | | | | | failed to prevent indefinite retries git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@596 ef36b2f9-881f-0410-afb5-c4e39611909c
* defined LDAP_DEPRECATED to also have definitions for ↵Arthur de Jong2008-01-311-0/+3
| | | | | | deprecated functions git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@595 ef36b2f9-881f-0410-afb5-c4e39611909c
* only define MUST_USE attribute if gcc version is more ↵Arthur de Jong2008-01-311-8/+19
| | | | | | recent than 3.4 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@594 ef36b2f9-881f-0410-afb5-c4e39611909c
* 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