summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-02-02 20:37:41 +0000
committerKen Raeburn <raeburn@mit.edu>2009-02-02 20:37:41 +0000
commitb533153ba93bc4bb993ec920929124ed9f50c683 (patch)
treed22cff888318a3107cda8dba879674f7659ae5d8 /src/kadmin/testing/scripts
parent8306873be29e0d9690f43f655a21abf543393e62 (diff)
downloadkrb5-b533153ba93bc4bb993ec920929124ed9f50c683.tar.gz
krb5-b533153ba93bc4bb993ec920929124ed9f50c683.tar.xz
krb5-b533153ba93bc4bb993ec920929124ed9f50c683.zip
Revise last change to better resemble the original test, keeping the
min-lifetime test code collected together. Change policy to have a minimum password lifetime of 10s instead of 30s, and reduce the test delays accordingly. ticket: 6358 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21868 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing/scripts')
-rwxr-xr-xsrc/kadmin/testing/scripts/init_db2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kadmin/testing/scripts/init_db b/src/kadmin/testing/scripts/init_db
index 93b6fa16e..7296e1f9b 100755
--- a/src/kadmin/testing/scripts/init_db
+++ b/src/kadmin/testing/scripts/init_db
@@ -106,7 +106,7 @@ set cmds {
{ovsec_kadm_create_policy $server_handle "test-pol 0 10000 8 2 3 0" \
{OVSEC_KADM_POLICY OVSEC_KADM_PW_MIN_LENGTH OVSEC_KADM_PW_MIN_CLASSES OVSEC_KADM_PW_MAX_LIFE OVSEC_KADM_PW_HISTORY_NUM}}
- {ovsec_kadm_create_policy $server_handle "once-a-min 30 0 0 0 0 0" \
+ {ovsec_kadm_create_policy $server_handle "once-a-min 10 0 0 0 0 0" \
{OVSEC_KADM_POLICY OVSEC_KADM_PW_MIN_LIFE}}
{ovsec_kadm_create_policy $server_handle "dict-only 0 0 0 0 0 0" \
{OVSEC_KADM_POLICY}}