From 660628789b79e8a52dd046dda553d6de8d4d87bb Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 30 Aug 2010 16:28:58 +0000 Subject: [PATCH] Bring back as a dependency of so that modules can return appropriate error codes. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/plugins2@24278 dc483132-0cff-0310-8789-dd5450dbe970 --- pwqual_combo/combo.c | 1 - src/include/krb5/pwqual_plugin.h | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pwqual_combo/combo.c b/pwqual_combo/combo.c index 69c2bcd36f..34e6daa167 100644 --- a/pwqual_combo/combo.c +++ b/pwqual_combo/combo.c @@ -31,7 +31,6 @@ #include #include -#include /* XXX */ #include #include #include diff --git a/src/include/krb5/pwqual_plugin.h b/src/include/krb5/pwqual_plugin.h index 0613705be4..8fe5c61b68 100644 --- a/src/include/krb5/pwqual_plugin.h +++ b/src/include/krb5/pwqual_plugin.h @@ -51,6 +51,7 @@ #include #include +#include /* An abstract type for password quality module data. */ typedef struct krb5_pwqual_moddata_st *krb5_pwqual_moddata; @@ -66,7 +67,11 @@ typedef krb5_error_code /* * Mandatory: Check a password for the principal princ, which has an associated * password policy named policy_name (or no associated policy if policy_name is - * NULL). Return an error if the password check fails. + * NULL). Return one of the following errors if the password check fails: + * + * - KADM5_PASS_Q_TOOSHORT + * - KADM5_PASS_Q_CLASS + * - KADM5_PASS_Q_DICT */ typedef krb5_error_code (*krb5_pwqual_check_fn)(krb5_context context, krb5_pwqual_moddata data, -- 2.47.2