Merge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local
[tprouty/samba.git] / source4 / heimdal / kdc / windc.c
index 41e4ad1bbc8f967ebbf82acc33a33654e3ce8de7..85e4d7f725cb415d036409b8a675d9823d0bef78 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "kdc_locl.h"
 
-RCSID("$Id: windc.c,v 1.3 2007/01/04 11:10:06 lha Exp $");
+RCSID("$Id: windc.c 20559 2007-04-24 16:00:07Z lha $");
 
 static krb5plugin_windc_ftable *windcft;
 static void *windcctx;
@@ -43,7 +43,7 @@ static void *windcctx;
  */
 
 krb5_error_code
-_kdc_windc_init(krb5_context context)
+krb5_kdc_windc_init(krb5_context context)
 {
     struct krb5_plugin *list = NULL, *e;
     krb5_error_code ret;
@@ -91,18 +91,20 @@ _kdc_pac_verify(krb5_context context,
                krb5_pac *pac)
 {
     if (windcft == NULL) {
-       krb5_set_error_string(context, "Can't verify WINDC, no function");
+       krb5_set_error_string(context, "Can't verify PAC, no function");
        return EINVAL;
     }
-    return (windcft->pac_verify)(windcctx, context, client_principal, client, server, pac);
+    return (windcft->pac_verify)(windcctx, context, 
+                                client_principal, client, server, pac);
 }
 
 krb5_error_code
 _kdc_windc_client_access(krb5_context context,
                         struct hdb_entry_ex *client,
-                        KDC_REQ *req)
+                        KDC_REQ *req,
+                        krb5_data *e_data)
 {
     if (windcft == NULL)
        return 0;
-    return (windcft->client_access)(windcctx, context, client, req);
+    return (windcft->client_access)(windcctx, context, client, req, e_data);
 }