Mark a few places where a debug logging should be added
authorkouril <kouril>
Fri, 9 Apr 2004 13:05:29 +0000 (13:05 +0000)
committerkouril <kouril>
Fri, 9 Apr 2004 13:05:29 +0000 (13:05 +0000)
src/mod_auth_kerb.c

index 48147f4..90d5d50 100644 (file)
@@ -466,6 +466,17 @@ verify_krb5_user(request_rec *r, krb5_context context, krb5_principal principal,
       goto end;
    }
 
+   /* XXX
+   {
+      char *realm;
+
+      krb5_get_default_realm(context, &realm);
+      log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
+                 "trying to verify password using key for %s/%s@%s",
+                service, ap_get_server_name(r), realm);
+   }
+   */
+
    krb5_verify_init_creds_opt_init(&opt);
    krb5_verify_init_creds_opt_set_ap_req_nofail(&opt, krb_verify_kdc);
 
@@ -934,6 +945,8 @@ cmp_gss_type(gss_buffer_t token, gss_OID oid)
    if (token->length == 0)
       return GSS_S_DEFECTIVE_TOKEN;
 
+   /* XXX if (token->value == NTLMSSP) log_debug("NTLM mechanism used"); */
+
    p = token->value;
    if (*p++ != 0x60)
       return GSS_S_DEFECTIVE_TOKEN;