summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-12-30code style fixArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1891 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30reorganise and rename configuration options to be in line with manual pageArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1888 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30remove the ldc_ prefix from struct ldap_config fieldsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1887 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-29implement a lookup_netgroup command for systems that cannot use getent to ↵Arthur de Jong
list netgroups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1882 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-23update the netgroup by name request to have one result entry per netgroup ↵Arthur de Jong
with multiple rows within one result git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1874 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-22update C coding style to a more commonly used styleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-14also test for correct value of errno on timeout and make read and write ↵Arthur de Jong
timeout tests consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1858 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-14also output debugging info in test_timeout_reader testArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1857 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-06make test even more verbose and set number of writes back at 10000 to avoid ↵Arthur de Jong
issues with systems with large buffers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1846 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-30rephrase test to more clearly explain what we're testing and be a little ↵Arthur de Jong
more verbose git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1845 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-10-19allow attribute options in attribute mapping expressionsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1803 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-10-13provide alternatives for assertion failures on Solaris and FreeBSDArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1787 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-10-13update tests to new tio interface (fixes r1783)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1784 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-26support alternative unknown user responseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1658 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-09-04warn when we couldn't get the gid or pid, the uid is the only really ↵Arthur de Jong
interesting bit git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1535 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-09-04add casts from size_t to int for printfArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1534 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-08-14put external libraries at the end when linkingArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1504 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-08-05replace last traces of groupOfUniqueNamesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1488 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-08-05check whether the NSS shadow map queries LDAP before returning x as a ↵Arthur de Jong
password has for shadow users git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1487 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-08-05update tests with change of member/uniqueMember default change (r1484)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1486 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-08-03switch to using the member attribute by default instead of uniqueMemberArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1484 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-06-05handle expressions where the expander function returns NULL (handle it as an ↵Arthur de Jong
empty string) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1471 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-05-23add test case for two-character user nameArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1466 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-24improve handling of test_login_unknownArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1433 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-15allow running test_{nss,pam}cmds tests from another directoryArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1424 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-26ensure that all test source files are distibuted and can tests can be run ↵Arthur de Jong
when source directory differs from build directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1416 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-25re-organise tests somewhat making things more consistentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1413 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-25implement a validnames option that can be used to fine-tune the test for ↵Arthur de Jong
valid user and group names using a regular expression git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1411 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-19more tests and general test improvementsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1401 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-18implement test cases for some of the common PAM actions (test environment ↵Arthur de Jong
required for this) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1398 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-17put all assertion functions and compatibility code into one header fileArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1397 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-16remove legacy test code that is no longer usedArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1395 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-13fix name of script in headerArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1392 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-06add some test groups and add the arthur user to them to test whether all are ↵Arthur de Jong
returned correctly git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1379 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-12-26paging isn't supported by OpenLDAP when chasing referralsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1343 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-12-18sort group members by alphabet to not be dependant on the order of ↵Arthur de Jong
attributes returned and the internal softing of the set git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1337 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-12-18update tests with current test set-up (with chasing a referral and some ↵Arthur de Jong
other minor changes) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1336 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-12-11include extra assertion checksArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1322 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15implement dict_getany() and set_pop() functions to be able to pick and ↵Arthur de Jong
remove entries git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1279 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15make DICTs and SETs case-sensitiveArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1278 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-28also switch to nss_status_t for test codeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1223 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-14implement a global symbol inside the NSS module to allow applications to ↵Arthur de Jong
disable NSS lookups over LDAP and use it in nslcd to avoid deadlocks git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1141 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-09rename reconnect_maxsleeptime option to reconnect_retrytimeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1094 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-07implement test for buffer overflowArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1086 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-04-13also have myldap_search() return an LDAP status codeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1078 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-04-01small improvements to the test setupArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1077 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-02-27small updates to documentationArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1065 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-12-28implement attribute mapping using shell-like expressionsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1041 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-12-28preload our own NSS module for testsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1038 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-12-13change dict and set API to perform loops with a list of strings instead of ↵Arthur de Jong
loop_first() and loop_next() functions git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1028 ef36b2f9-881f-0410-afb5-c4e39611909c