diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-11-10 22:08:39 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-11-15 13:58:45 -0500 |
commit | 4f349b6e154eb05e591cd0de10791e29f4c44fb9 (patch) | |
tree | 52619d94d4876b9b3623555c50cf3706d9ec2858 /.gitignore | |
parent | daede6e7ccfeb87ed8aec6604c07be2d8d0ed02c (diff) | |
download | krb5-4f349b6e154eb05e591cd0de10791e29f4c44fb9.tar.gz krb5-4f349b6e154eb05e591cd0de10791e29f4c44fb9.tar.xz krb5-4f349b6e154eb05e591cd0de10791e29f4c44fb9.zip |
Add automated tests for LDAP KDB module
Add new tests kdbtest.c and t_kdb.py. Together these exercise most of
the code in the LDAP back end. kdbtest is also run against the DB2
module, which is mostly redundant with other tests, but does exercise
the lockout logic a little more thoroughly than t_lockout.py can.
To test the LDAP back end, we look for slapd and ldapadd binaries in
the path. The system slapd is sometimes constrained by AppArmor or
the like, which we can typically work around by making a copy of the
binary. slapd detaches before listening on its server socket (this
got better in 2.4.27 but still isn't perfect), so we unfortunately
have to use a one-second sleep in the slapd setup.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 8ec785de2..f13d50c6d 100644 --- a/.gitignore +++ b/.gitignore @@ -289,6 +289,7 @@ testlog /src/tests/misc/test_cxx_rpc /src/tests/misc/test_getpw +/src/tests/ldap /src/tests/mkeystash_compat/bigendian /src/tests/mkeystash_compat/kdc.conf /src/tests/mkeystash_compat/krb5.conf |