]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Update sample password quality module to match new interface. Work
authorGreg Hudson <ghudson@mit.edu>
Sun, 29 Aug 2010 16:19:04 +0000 (16:19 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 29 Aug 2010 16:19:04 +0000 (16:19 +0000)
around unresolved issue with error codes by including <kadm5/admin.h>
for now.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/plugins2@24270 dc483132-0cff-0310-8789-dd5450dbe970

pwqual_combo/combo.c

index af1398326d49cc62362f282ac0b61f0bc0eff7d6..69c2bcd36fb2172cec31ddd83e5f56af0506a109 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <krb5.h>
 #include <krb5/pwqual_plugin.h>
+#include <kadm5/admin.h> /* XXX */
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -134,7 +135,7 @@ combo_open(krb5_context context, const char *dict_file,
 
 static krb5_error_code
 combo_check(krb5_context context, krb5_pwqual_moddata data,
-            const char *password, kadm5_policy_ent_t policy,
+            const char *password, const char *policy_name,
             krb5_principal princ)
 {
     combo_moddata dict = (combo_moddata)data;