Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.5 release0.5Arthur de Jong2007-12-277-33/+599
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@539 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove temporary file to make distcheck succeedArthur de Jong2007-12-261-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@538 ef36b2f9-881f-0410-afb5-c4e39611909c
* some documentation cleanupsArthur de Jong2007-12-262-13/+13
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@537 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore erros in nss commandsArthur de Jong2007-12-261-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@536 ef36b2f9-881f-0410-afb5-c4e39611909c
* only log "connected to LDAP server" if it is a new ↵Arthur de Jong2007-12-261-6/+2
| | | | | | connection git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@535 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly handle spaces in some configuration options ↵Arthur de Jong2007-12-263-288/+366
| | | | | | (major change in code in cfg module) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@534 ef36b2f9-881f-0410-afb5-c4e39611909c
* in test_two_searches() test that we can read from the ↵Arthur de Jong2007-12-261-1/+10
| | | | | | second search if the first search as abandoned git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@533 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly flag running searches as invalid if the ↵Arthur de Jong2007-12-261-15/+83
| | | | | | connection to the LDAP server is reset git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@532 ef36b2f9-881f-0410-afb5-c4e39611909c
* have myldap_get_entry() return an LDAP status code that ↵Arthur de Jong2007-12-254-19/+48
| | | | | | can signal errors in the lookup git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@531 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove NSLCD_RESULT_UNAVAIL because it's not needed ↵Arthur de Jong2007-12-254-13/+10
| | | | | | anymore (the connection is broken when an error occurs) and rename NSLCD_RESULT_NOTFOUND into NSLCD_RESULT_END to better match its meaning git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@530 ef36b2f9-881f-0410-afb5-c4e39611909c
* no need for us to flush the buffer since our caller ↵Arthur de Jong2007-12-251-2/+0
| | | | | | closes the stream immediatly (or could otherwise pass the flushing to another thread) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@529 ef36b2f9-881f-0410-afb5-c4e39611909c
* some general cleanups and document the krb5_ccname optionArthur de Jong2007-12-251-68/+36
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@528 ef36b2f9-881f-0410-afb5-c4e39611909c
* disable rootbinddn and rootbindpw questions for now ↵Arthur de Jong2007-12-241-23/+25
| | | | | | because they are not supported git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@527 ef36b2f9-881f-0410-afb5-c4e39611909c
* document current timing and reconnect optionsArthur de Jong2007-12-241-31/+61
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@526 ef36b2f9-881f-0410-afb5-c4e39611909c
* merge the do_map_error(), do_with_reconnect() into the ↵Arthur de Jong2007-12-241-172/+105
| | | | | | myldap_search() and do_try_search() functions having more understandable reconnect and retry logic git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@525 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some more documentation for using the myldap moduleArthur de Jong2007-12-241-26/+35
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@524 ef36b2f9-881f-0410-afb5-c4e39611909c
* add limited test for reconnect logicArthur de Jong2007-12-222-1/+45
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@523 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove bind_policy option because the same effect is ↵Arthur de Jong2007-12-223-31/+4
| | | | | | achieved by setting reconnect_tries to 1 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@522 ef36b2f9-881f-0410-afb5-c4e39611909c
* reorder timing and reconnect options to be more logical ↵Arthur de Jong2007-12-222-45/+34
| | | | | | and remove nss_ prefix from reconnect options git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@521 ef36b2f9-881f-0410-afb5-c4e39611909c
* limit printing of results in test to just 10Arthur de Jong2007-12-221-25/+29
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@520 ef36b2f9-881f-0410-afb5-c4e39611909c
* include script name in messages and have srcdir default to .Arthur de Jong2007-12-221-2/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@519 ef36b2f9-881f-0410-afb5-c4e39611909c
* integrate do_result() into myldap_get_entry() reducing ↵Arthur de Jong2007-12-221-138/+119
| | | | | | complexity and improving error handling git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@518 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove duplicate commentArthur de Jong2007-12-221-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@517 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove some unused configuration file optionsArthur de Jong2007-12-222-45/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@516 ef36b2f9-881f-0410-afb5-c4e39611909c
* bring more uniformity to log messagesArthur de Jong2007-12-221-14/+26
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@515 ef36b2f9-881f-0410-afb5-c4e39611909c
* give struct myldap_session members more logical namesArthur de Jong2007-12-221-74/+74
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@514 ef36b2f9-881f-0410-afb5-c4e39611909c
* only test the first URI in the configfileArthur de Jong2007-12-212-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@513 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass configfile to use as a command-line paramter to ↵Arthur de Jong2007-12-203-41/+73
| | | | | | test_myldap, use the myldap_session_close() function, print a limited number of results, add a wrapper script to test whether the LDAP server is available for the test and ship all needed files in the tarball git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@512 ef36b2f9-881f-0410-afb5-c4e39611909c
* fail on any command and specify configfile separatelyArthur de Jong2007-12-201-2/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@511 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove FSF copyright since we no longer use their codeArthur de Jong2007-12-201-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@510 ef36b2f9-881f-0410-afb5-c4e39611909c
* refactor myldap code to get rid of most of the old nss ↵Arthur de Jong2007-12-202-311/+296
| | | | | | status codes, properly handle failures of ldap function calls and improve sourcecode comments git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@509 ef36b2f9-881f-0410-afb5-c4e39611909c
* add myldap_session_close() function (mainly for testing ↵Arthur de Jong2007-12-202-0/+23
| | | | | | purposes) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@508 ef36b2f9-881f-0410-afb5-c4e39611909c
* move checks of validity of passed entries to separate ↵Arthur de Jong2007-12-201-10/+33
| | | | | | functions git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@507 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove msg member from struct myldap_entry and just ↵Arthur de Jong2007-12-201-12/+7
| | | | | | reference the same message in the search git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@506 ef36b2f9-881f-0410-afb5-c4e39611909c
* rewrite GET_OPTIONAL_DATE() as an extension to ↵Arthur de Jong2007-12-201-20/+4
| | | | | | GET_OPTIONAL_LONG() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@505 ef36b2f9-881f-0410-afb5-c4e39611909c
* add/change some tests for currently used functions, ↵Arthur de Jong2007-12-201-33/+29
| | | | | | relayout some complexer tests and use AC_CHECK_TYPE instead of custom test git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@504 ef36b2f9-881f-0410-afb5-c4e39611909c
* use ether_ntoa_r() instead of ether_ntoa()Arthur de Jong2007-12-201-3/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@503 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unused tests and compatibility codeArthur de Jong2007-12-202-35/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@502 ef36b2f9-881f-0410-afb5-c4e39611909c
* set pagesize to some more reasonable valueArthur de Jong2007-12-201-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@501 ef36b2f9-881f-0410-afb5-c4e39611909c
* have assertion on correct searchArthur de Jong2007-12-201-2/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@500 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo in descriptionArthur de Jong2007-12-161-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@498 ef36b2f9-881f-0410-afb5-c4e39611909c
* potential fix for double free() bug like in nss_ldap ↵Arthur de Jong2007-12-141-3/+3
| | | | | | (Debian bug #366172) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@497 ef36b2f9-881f-0410-afb5-c4e39611909c
* improve description of myldap interface in commentsArthur de Jong2007-12-141-7/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@496 ef36b2f9-881f-0410-afb5-c4e39611909c
* explain why we write an invalid address (in comment) and ↵Arthur de Jong2007-12-141-1/+3
| | | | | | add TODO to describe we need to change the log format git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@495 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo in commentArthur de Jong2007-12-141-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@494 ef36b2f9-881f-0410-afb5-c4e39611909c
* update package descriptionArthur de Jong2007-12-091-8/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@493 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix objects that are needed to get tests linkable (due ↵Arthur de Jong2007-12-091-3/+3
| | | | | | to namechange from ldap-nss to myldap) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@492 ef36b2f9-881f-0410-afb5-c4e39611909c
* some small layout changesArthur de Jong2007-12-094-7/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@491 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove ugly spaceArthur de Jong2007-12-091-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@490 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of some old code and rename ldap-nss to myldap ↵Arthur de Jong2007-12-0910-382/+25
| | | | | | since there is no more NSS-related code in there git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@489 ef36b2f9-881f-0410-afb5-c4e39611909c