| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This fixes issues with running the tests when using a separate build
directory (fixes ef0eddaa).
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some pieces of code did not properly free() the value returned by
set_pop().
The leak in group code was related to the introduction of nested group
functionality in 41ba574 (merged in 3daa68d) so should only be present
in releases 0.9.0 forward.
The leak in the netgroup code only ended up in the Solaris version of
the NSS module and was introduced in 4ea9ad1 (merged in 5c8779d). This
leak is present in all releases from 0.8.0 forward.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This extends test_pamcmds to handle other pam/su/passwd errors and
responses (as seen on CentOS 5). Also switch to stronger password when
changing the test user's password to avoid problems with password
strength checks.
|
|
|
|
|
| |
This changes the in_testenv.sh script into testenv.sh which has more
checks and a few functions to configure the test environment.
|
| |
|
|
|
|
|
| |
This refreshes the documentation of the tests, especially the test
environment.
|
|
|
|
|
|
| |
The setup_slapd.sh script can be used to set up and start a slapd
instance in a single (temporary) directory. The slapd instance is
configured and loaded with test data for use in the test environment.
|
|
|
|
|
|
|
|
|
| |
This fixes an issue with the sortgroup function which failed to handle a
group line with only two colons correctly. Such group entries have been
seen in the wild on FreeBSD.
Also, comment lines in group files are now ignored (also seen on
FreeBSD).
|
|
|
|
|
|
| |
This removes a few legacy workarounds and fixes for older versions of
automake. This also removes adding specific DEBUG flags for tests since
subdir objects are handled differently now.
|
|
|
|
|
|
| |
This sets the permissions on the nslcd-test.conf file while running the
tests to ensure that the permission checks for the bindpwn and
rootpwmodpw options do not fail the test.
|
|
|
|
|
| |
This test checks whether the proposed remaining time to sleep is
reasonable.
|
|
|
|
|
|
| |
This probes the system for available clocks to see if they can be
reliably used to get a monotonic-like timer (the test doesn't verify the
monotonic part, just usability).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This replaces e0491d2 to run xmlto from the man directory. This handles
the case more gracefully if xmlto is not available.
|
| |
|
|
|
|
|
| |
This runs a somewhat limited pylint run against the source files. It
should at least catch some issues.
|
| |
|
|
|
|
|
|
|
|
| |
We need to avoid writing pyc files because during make distcheck, the
source directory is read-only.
This also ensures that the test is skipped if the Python interpreter is
not found.
|
| |
|
|
|
|
|
| |
This also renames the internal nscd module to invalidator for both nslcd
and pynslcd. The new invalidator module is now no longer nscd-specific.
|
| |
|
|
|
|
| |
nsswitch.conf
|
| |
|
|
|
|
|
| |
This also includes some changes to the test directory contents that were for
other tests and functionality.
|
| |
|
|
|
|
| |
systems that don't allow querying shadow via getent
|
| |
|
|
|
|
| |
signal to nscd
|
| |
|
|
|
|
| |
option and allow parentheses (taken from Fedora packages)
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1917 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1915 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
FreeBSD)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1914 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1913 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1901 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1891 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
line with manual page
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1888 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1887 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
cannot use getent to list netgroups
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1882 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
entry per netgroup 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
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
read and write timeout tests consistent
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1858 ef36b2f9-881f-0410-afb5-c4e39611909c
|