Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* have the binary look up the file name and only use the ↵Arthur de Jong2008-04-252-3/+11
| | | | | | shell script wrapper to determine if LDAP server is available git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@697 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix order of members in group in tests because of new ↵Arthur de Jong2008-04-231-4/+4
| | | | | | hashing dict (maybe we should fix the script instead to always sort members properly) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@695 ef36b2f9-881f-0410-afb5-c4e39611909c
* add test for problem with duplicate entries being ↵Arthur de Jong2008-04-231-0/+37
| | | | | | returned while looping over results git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@693 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a set that uses the dict module as back-endArthur de Jong2008-04-192-3/+72
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@681 ef36b2f9-881f-0410-afb5-c4e39611909c
* some new tests for the dictionary moduleArthur de Jong2008-04-193-10/+2594
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@679 ef36b2f9-881f-0410-afb5-c4e39611909c
* change dict_values_first() and dict_values_next() into ↵Arthur de Jong2008-04-171-17/+16
| | | | | | 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
* 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
* 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
* 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
* implement resizable I/O buffers and tune buffer sizes to ↵Arthur de Jong2008-02-121-12/+24
| | | | | | normal requests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@630 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
* 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
* 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
* 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
* 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
* when including stdint.h check if we actually have itArthur de Jong2008-01-271-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 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
* 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
* 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
* 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
* 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
* 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
* 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
* add limited implementation of tio_mark() and tio_reset() ↵Arthur de Jong2008-01-011-5/+74
| | | | | | 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
* 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
* 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
* properly handle spaces in some configuration options ↵Arthur de Jong2007-12-261-39/+70
| | | | | | (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
* have myldap_get_entry() return an LDAP status code that ↵Arthur de Jong2007-12-251-11/+12
| | | | | | can signal errors in the lookup git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@531 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
* 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
* 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
* 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 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
* 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
* 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
* add some comments to tests, enable netgroup tests and ↵Arthur de Jong2007-12-091-31/+47
| | | | | | extend ether and services tests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@487 ef36b2f9-881f-0410-afb5-c4e39611909c
* script to run a number of NSS commands (mainly getent) ↵Arthur de Jong2007-10-281-0/+323
| | | | | | and check the result (this requires an LDAP setup that is yet to be documented) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@467 ef36b2f9-881f-0410-afb5-c4e39611909c
* integrate basic myldap interface (partially merged from ↵Arthur de Jong2007-10-193-1/+316
| | | | | | dev-myldap branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@443 ef36b2f9-881f-0410-afb5-c4e39611909c
* include debugging information in object filesArthur de Jong2007-10-191-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@442 ef36b2f9-881f-0410-afb5-c4e39611909c
* move most C[PP]FLAGS options to AM_C[PP]FLAGS and clean ↵Arthur de Jong2007-10-191-4/+7
| | | | | | up a little git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@441 ef36b2f9-881f-0410-afb5-c4e39611909c