svn rev #24270: branches/plugins2/pwqual_combo/

ghudson@MIT.EDU ghudson at MIT.EDU
Sun Aug 29 12:19:05 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24270
Commit By: ghudson
Log Message:
Update sample password quality module to match new interface.  Work
around unresolved issue with error codes by including <kadm5/admin.h>
for now.



Changed Files:
U   branches/plugins2/pwqual_combo/combo.c
Modified: branches/plugins2/pwqual_combo/combo.c
===================================================================
--- branches/plugins2/pwqual_combo/combo.c	2010-08-29 15:39:08 UTC (rev 24269)
+++ branches/plugins2/pwqual_combo/combo.c	2010-08-29 16:19:04 UTC (rev 24270)
@@ -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 @@
 
 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;




More information about the cvs-krb5 mailing list