summaryrefslogtreecommitdiffstats
path: root/src/tests/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-04-24 01:05:41 +0000
committerGreg Hudson <ghudson@mit.edu>2012-04-24 01:05:41 +0000
commit2782e80a12bccd920fa71e23166ac97c4470a637 (patch)
tree2c2e4c0f03fdbb9144043494b65b4f404d99fdfd /src/tests/Makefile.in
parent8230c4b7b7323cdef2a6c877deb710a15380f40f (diff)
downloadkrb5-2782e80a12bccd920fa71e23166ac97c4470a637.tar.gz
krb5-2782e80a12bccd920fa71e23166ac97c4470a637.tar.xz
krb5-2782e80a12bccd920fa71e23166ac97c4470a637.zip
Try all history keys to decrypt password history
A database created prior to 1.3 will have multiple password history keys, and kadmin prior to 1.8 won't necessarily choose the first one. So if there are multiple keys, we have to try them all. If none of the keys can decrypt a password history entry, don't fail the password change operation; it's not worth it without positive evidence of password reuse. ticket: 7099 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25819 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/Makefile.in')
-rw-r--r--src/tests/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in
index 9c5d269a13..5ee619a1eb 100644
--- a/src/tests/Makefile.in
+++ b/src/tests/Makefile.in
@@ -18,6 +18,9 @@ TEST_PREFIX = "foo bar"
KADMIN_OPTS= -d $(TEST_DB) -r $(TEST_REALM) -P $(TEST_MKEY)
KTEST_OPTS= $(KADMIN_OPTS) -p $(TEST_PREFIX) -n $(TEST_NUM) -D $(TEST_DEPTH)
+hist: hist.o $(KDB5_DEPLIBS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o $@ hist.o $(KDB5_LIBS) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS)
+
check-unix:: kdb_check
kdc.conf: Makefile
@@ -60,7 +63,7 @@ kdb_check: kdc.conf krb5.conf
$(RUN_SETUP) $(VALGRIND) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) destroy -f
$(RM) $(TEST_DB)* stash_file
-check-pytests::
+check-pytests:: hist
$(RUNPYTEST) $(srcdir)/t_general.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_anonpkinit.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_lockout.py $(PYTESTFLAGS)
@@ -73,6 +76,7 @@ check-pytests::
$(RUNPYTEST) $(srcdir)/t_crossrealm.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_skew.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_keytab.py $(PYTESTFLAGS)
+ $(RUNPYTEST) $(srcdir)/t_pwhist.py $(PYTESTFLAGS)
# $(RUNPYTEST) $(srcdir)/kdc_realm/kdcref.py $(PYTESTFLAGS)
clean::