Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add test for emtpy DNArthur de Jong2008-04-191-0/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@678 ef36b2f9-881f-0410-afb5-c4e39611909c
* instead of using the dict module to build a cache just ↵Arthur de Jong2008-04-181-28/+37
| | | | | | store the values in an fixed-sized array because no more than 9 attributes are currently retrieved from an entry and we never retrieve the same value more than once (so the cache is useless) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@677 ef36b2f9-881f-0410-afb5-c4e39611909c
* add note about freed valuesArthur de Jong2008-04-171-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@676 ef36b2f9-881f-0410-afb5-c4e39611909c
* change dict_values_first() and dict_values_next() into ↵Arthur de Jong2008-04-174-31/+36
| | | | | | dict_loop_first() and dict_loop_next() to have a looping mechanism over keys and values git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@675 ef36b2f9-881f-0410-afb5-c4e39611909c
* remote hopefully last reference to rootbind{dn,pw}Arthur de Jong2008-04-131-4/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@674 ef36b2f9-881f-0410-afb5-c4e39611909c
* return values of dn2uid() and uid2dn() should always be usedArthur de Jong2008-04-061-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@673 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly handle the case where dn2uid() couldn't do a ↵Arthur de Jong2008-04-061-2/+2
| | | | | | DN->uid lookup git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@672 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.6.1 release0.6.1Arthur de Jong2008-04-067-11/+345
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@670 ef36b2f9-881f-0410-afb5-c4e39611909c
* include updated filesArthur de Jong2008-04-062-17/+59
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@669 ef36b2f9-881f-0410-afb5-c4e39611909c
* include Petter Reinholdtsen for reporting many bugs and ↵Arthur de Jong2008-04-051-0/+1
| | | | | | even some fixes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@668 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle case where value contains spaces properlyArthur de Jong2008-04-051-13/+20
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@667 ef36b2f9-881f-0410-afb5-c4e39611909c
* support having a binddn set without a bindpwArthur de Jong2008-04-051-1/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@666 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo in commentArthur de Jong2008-04-051-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@665 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove rootbind{dn,pw} options from packaging because ↵Arthur de Jong2008-04-0517-744/+396
| | | | | | the options are not likely to be implemented in the future git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@664 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix member->group searches by also searching for DN in ↵Arthur de Jong2008-04-053-6/+56
| | | | | | uniqueMember attribute git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@663 ef36b2f9-881f-0410-afb5-c4e39611909c
* make log line a little bigger to properly log more ↵Arthur de Jong2008-04-051-1/+1
| | | | | | search filters git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@662 ef36b2f9-881f-0410-afb5-c4e39611909c
* only return shadow entries to root usersArthur de Jong2008-04-051-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@661 ef36b2f9-881f-0410-afb5-c4e39611909c
* correctly implement buffer handling in ↵Arthur de Jong2008-04-051-21/+39
| | | | | | _nss_ldap_initgroups_dyn() to grow buffer when needed, check limits and handle extra group parameter (had a closer look at nis-initgroups.c) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@660 ef36b2f9-881f-0410-afb5-c4e39611909c
* no problem to shout a little with failed testsArthur de Jong2008-04-051-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@659 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly check the limit (as seen in nis-initgroups.c)Arthur de Jong2008-04-051-1/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@658 ef36b2f9-881f-0410-afb5-c4e39611909c
* partial support for reading AD date format for ↵Arthur de Jong2008-04-051-12/+48
| | | | | | pwdLastSet attribute git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@657 ef36b2f9-881f-0410-afb5-c4e39611909c
* split closing of LDAP session to separate funtion to ↵Arthur de Jong2008-04-051-50/+46
| | | | | | invalidate running searches always and closes connection if setting up search failed git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@656 ef36b2f9-881f-0410-afb5-c4e39611909c
* use a larger buffer for group membership resultsArthur de Jong2008-04-051-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@655 ef36b2f9-881f-0410-afb5-c4e39611909c
* check that the last myldap_get_entry() returned successArthur de Jong2008-04-051-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@654 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove code that handles special cases when calling as ↵Arthur de Jong2008-04-046-112/+13
| | | | | | root (removing rootbinddn, rootbindpw, rootuse_sasl and rootsasl_authid options) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@653 ef36b2f9-881f-0410-afb5-c4e39611909c
* revert r628 (using ldap_str2dn() instead of ↵Arthur de Jong2008-04-041-56/+98
| | | | | | ldap_explode_r?dn()) for now to make this compile on older versions of OpenLDAP git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@652 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some more documentation to the pagesize optionArthur de Jong2008-04-041-0/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@651 ef36b2f9-881f-0410-afb5-c4e39611909c
* make start not fail if nslcd is already running and stop ↵Arthur de Jong2008-04-021-3/+3
| | | | | | not fail if it wasn't running before git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@650 ef36b2f9-881f-0410-afb5-c4e39611909c
* some fixes to the configuration when using Active ↵Arthur de Jong2008-03-301-2/+3
| | | | | | Directory (provided by Petter Reinholdtsen <pere@hungry.com>) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@649 ef36b2f9-881f-0410-afb5-c4e39611909c
* only define and use do_sasl_interact() if we have a sasl ↵Arthur de Jong2008-03-302-4/+16
| | | | | | library git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@648 ef36b2f9-881f-0410-afb5-c4e39611909c
* make test for compiler versions simpler and per used ↵Arthur de Jong2008-03-301-17/+27
| | | | | | attribute git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@647 ef36b2f9-881f-0410-afb5-c4e39611909c
* add contact information on reporting bugs and ↵Arthur de Jong2008-03-292-0/+13
| | | | | | contributing patches git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@646 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some more notes about the design and direction I ↵Arthur de Jong2008-03-291-0/+12
| | | | | | want to go in git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@645 ef36b2f9-881f-0410-afb5-c4e39611909c
* 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