summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2008-07-20reflect change in test LDAP setupArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@774 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-06-13add some very basic tests for the isvalidname() functionArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@760 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-06-11remove test socket at end of testArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@754 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-06-06implement a very basic test for getpeercred()Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@752 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-06-06miscellaneous portability improvementsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@742 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-05-04add some tests for isvalidgroupname()Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@726 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-05-02add file for testing nslcd/group.cArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@719 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-05-02don't even compile the test programs on make checkArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@718 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-05-02don't compile test code on every build and fix LDADD lists to include ↵Arthur de Jong
correct objects git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@717 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-05-01fix a warningArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@713 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-05-01ensure that filter_get_var() and filter_get_var() return non-NULL to enable ↵Arthur de Jong
parsing of config file with attribute mapping and filter settings and use base from config file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@712 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-25implement new timing mechanism for retries to quickly fail lookups to LDAP ↵Arthur de Jong
server that have been failing for some time, removing the reconnect_tries option and giving reconnect_sleeptime and reconnect_maxsleeptime options a new meaning git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@701 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-25include missing includeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@700 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-25ignore SIGPIPE in myldap testsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@699 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-25fix assert to be test instead of assignmentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@698 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-25have the binary look up the file name and only use the shell script wrapper ↵Arthur de Jong
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
2008-04-23fix order of members in group in tests because of new hashing dict (maybe we ↵Arthur de Jong
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
2008-04-23add test for problem with duplicate entries being returned while looping ↵Arthur de Jong
over results git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@693 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-19implement a set that uses the dict module as back-endArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@681 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-19some new tests for the dictionary moduleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@679 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-17change dict_values_first() and dict_values_next() into dict_loop_first() and ↵Arthur de Jong
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
2008-04-13remote hopefully last reference to rootbind{dn,pw}Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@674 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-05no problem to shout a little with failed testsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@659 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-05use a larger buffer for group membership resultsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@655 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-05check that the last myldap_get_entry() returned successArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@654 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-15add tests for myldap_get_rdn_value() and myldap_cpy_rdn_value()Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@632 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-12implement resizable I/O buffers and tune buffer sizes to normal requestsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@630 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-03add tests for new LDAP lookupsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@616 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-01enable _nss_ldap_initgroups_dyn() test because it's working nowArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@603 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-01pagectrl module has movedArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@600 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-01test for hugegroupArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@599 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-01the groups command no longer lists the usernameArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@598 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-31re-add test URIs that accidentally got commented out in the last commitArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@590 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-31pass the correct pthread flags for all calls to compiler and linker and link ↵Arthur de Jong
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
2008-01-30include errno in assertion statementArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@578 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-27when including stdint.h check if we actually have itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-26handle the case where /etc/nss-ldapd.conf does not exist a little more gracefulArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@568 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-26somewhat improve the output from the testsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@564 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-26also test map filter and scope configuration optionsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@562 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-16add a test for the map statementArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@560 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-03support the case where + is in /etc/groupArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@557 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-03get the number of groups and services from files in /etc for comparisonArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@554 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-01check to see if nslcd is running and add test for a large group (100 members)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@550 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-01add limited implementation of tio_mark() and tio_reset() functions to do ↵Arthur de Jong
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
2007-12-26remove temporary file to make distcheck succeedArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@538 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-12-26ignore erros in nss commandsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@536 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-12-26properly handle spaces in some configuration options (major change in code ↵Arthur de Jong
in cfg module) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@534 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-12-26in test_two_searches() test that we can read from the second search if the ↵Arthur de Jong
first search as abandoned git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@533 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-12-25have myldap_get_entry() return an LDAP status code that can signal errors in ↵Arthur de Jong
the lookup git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@531 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-12-22add limited test for reconnect logicArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@523 ef36b2f9-881f-0410-afb5-c4e39611909c