summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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
2009-11-01add test case for comma in DN attribute valueArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1015 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-08-31rename configfile to /etc/nslcd.conf and make debian packaging copy the file ↵Arthur de Jong
to the new name on upgrade git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@980 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-08-31rename software to nss-pam-ldapdArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@978 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-06-06implement case-sensitive filtering for group, netgroup, passwd, protocols, ↵Arthur de Jong
rpc, services and shadow lookups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@934 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-06-06fix wrappingArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@933 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-06-06update and document test suiteArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@932 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-29refactor protocol reading and writing macros to the common directory, use ↵Arthur de Jong
more logical names and in the PAM module no longer use NSS status codes (import of r887 from nss-pam-ldapd) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@904 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-29add missing objects to test programsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@903 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-24support multiple search bases, partially based on a patch by Leigh Wedding ↵Arthur de Jong
<lwedding@bigpond.com> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@892 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-12-03allow backslashes in names execpt as first or last characterArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@804 ef36b2f9-881f-0410-afb5-c4e39611909c