Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* don't warn about problems retreiving the objectClass ↵Arthur de Jong2008-03-281-3/+0
| | | | | | from en entry git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@644 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a problem where the newly allocated storage by ↵Arthur de Jong2008-03-271-0/+1
| | | | | | realloc() wasn't used (thanks to Petter Reinholdtsen <pere@hungry.com> for the patch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@643 ef36b2f9-881f-0410-afb5-c4e39611909c
* comment out all rootbind{dn,pw} code as to not copy ↵Arthur de Jong2008-03-162-31/+35
| | | | | | those directives because they are unsupported git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@642 ef36b2f9-881f-0410-afb5-c4e39611909c
* use tail instead of head to avoid conflicts becase ↵Arthur de Jong2008-03-161-6/+6
| | | | | | nss_ldap seems to pick up the last option in the file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@641 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle the case where an option is defined multiple timesArthur de Jong2008-03-161-6/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@640 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated Spanish (es) translation of debconf templates by ↵Arthur de Jong2008-03-063-48/+59
| | | | | | Rudy Godoy Guillén <rudy@debian.org> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@639 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated Dutch (nl) translation of debconf templates by ↵Arthur de Jong2008-03-042-201/+36
| | | | | | Bart Cornelis <cobaco@skolelinux.no> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@638 ef36b2f9-881f-0410-afb5-c4e39611909c
* some updates to reflect recent changesArthur de Jong2008-02-191-17/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@637 ef36b2f9-881f-0410-afb5-c4e39611909c
* have a better way to specify the manual page ruleArthur de Jong2008-02-191-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@636 ef36b2f9-881f-0410-afb5-c4e39611909c
* split out the flushing of the buffers to separate ↵Arthur de Jong2008-02-151-38/+84
| | | | | | functions and see if we can flush some data from the buffer if it is overflowing before growing the buffer git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@635 ef36b2f9-881f-0410-afb5-c4e39611909c
* add StartTLS support by Ralf Haferkamp <rhafer@suse.de>Arthur de Jong2008-02-151-0/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@634 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass URI to do_bind() to make it work with do_rebind() ↵Arthur de Jong2008-02-151-12/+8
| | | | | | and use that URI (thanks Ralf Haferkamp <rhafer@suse.de>) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@633 ef36b2f9-881f-0410-afb5-c4e39611909c
* add tests for myldap_get_rdn_value() and ↵Arthur de Jong2008-02-151-0/+36
| | | | | | myldap_cpy_rdn_value() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@632 ef36b2f9-881f-0410-afb5-c4e39611909c
* make using implicit function definitions an errorArthur de Jong2008-02-121-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@631 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement resizable I/O buffers and tune buffer sizes to ↵Arthur de Jong2008-02-125-41/+110
| | | | | | normal requests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@630 ef36b2f9-881f-0410-afb5-c4e39611909c
* always allocate the read and write buffers and make the ↵Arthur de Jong2008-02-121-85/+61
| | | | | | struct tio_buffer inline in struct tio_fileinfo git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@629 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace the calls to ldap_explode_dn() and ↵Arthur de Jong2008-02-101-98/+56
| | | | | | ldap_explode_rdn() with a call to ldap_str2dn() resulting in much simpler code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@628 ef36b2f9-881f-0410-afb5-c4e39611909c
* only support "dns" and "domain" values on platforms with ↵Arthur de Jong2008-02-081-0/+16
| | | | | | the necessary functions available git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@627 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't define struct ether_addr here, it was moved to ↵Arthur de Jong2008-02-081-6/+0
| | | | | | compat/ether.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@626 ef36b2f9-881f-0410-afb5-c4e39611909c
* make some changes to allow it to compile on more platformsArthur de Jong2008-02-041-3/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@625 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide replacements for ether_aton_r() and ↵Arthur de Jong2008-02-045-6/+108
| | | | | | ether_ntoa_r() for platforms that don't have them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@624 ef36b2f9-881f-0410-afb5-c4e39611909c
* only call __nss_configure_lookup() if it is available, ↵Arthur de Jong2008-02-042-0/+6
| | | | | | if it isn't the platform is out of luck git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@623 ef36b2f9-881f-0410-afb5-c4e39611909c
* defined LDAP_SCOPE_DEFAULT it's not defined elsewhereArthur de Jong2008-02-041-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@622 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix missing castsArthur de Jong2008-02-041-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@621 ef36b2f9-881f-0410-afb5-c4e39611909c
* actually include the compat header files when neededArthur de Jong2008-02-041-0/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@620 ef36b2f9-881f-0410-afb5-c4e39611909c
* 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