Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_myldap.sh
Commit message (Collapse)AuthorAgeFilesLines
* Run the correct executables for the testsArthur de Jong2014-03-101-2/+3
| | | | | This fixes issues with running the tests when using a separate build directory (fixes ef0eddaa).
* Fix nslcd-test.conf permissions for testArthur de Jong2014-03-101-0/+3
| | | | | | This ensures that configuration file is not world readable when the tests are run. This avoids test failure for the use of the rootpwmodpw option.
* Portability fixes to environment testsArthur de Jong2013-10-291-2/+3
| | | | | | | | | | This mostly tries to reduce the influences of the test environment (local users and groups) on the tests. This uses another username (vsefcovic) in the PAM tests instead of the user arthur to avoid clashes with existing users. The PAM tests are skipped if passwd claims that it cannot modify LDAP passwords (for FreeBSD).
* Improve portability of ldap testArthur de Jong2013-10-221-5/+1
| | | | | | | | | This supports old ldapsearch commands that don't support the -x and -H options and ldapsearch commands that don't exit with a failure code if nothing is found. This also switches the test_myldap test to use the testenv check for the LDAP server.
* rename configfile to /etc/nslcd.conf and make debian ↵Arthur de Jong2009-08-311-2/+2
| | | | | | packaging copy the file to the new name on upgrade git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@980 ef36b2f9-881f-0410-afb5-c4e39611909c
* have the binary look up the file name and only use the ↵Arthur de Jong2008-04-251-1/+1
| | | | | | 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
* 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-211-1/+1
| | | | 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-201-0/+41
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