projects
/
mod_auth_kerb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c7e7585
)
Mark a few places where a debug logging should be added
author
kouril
<kouril>
Fri, 9 Apr 2004 13:05:29 +0000
(13:05 +0000)
committer
kouril
<kouril>
Fri, 9 Apr 2004 13:05:29 +0000
(13:05 +0000)
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
48147f4
..
90d5d50
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-466,6
+466,17
@@
verify_krb5_user(request_rec *r, krb5_context context, krb5_principal principal,
goto end;
}
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);
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;
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;
p = token->value;
if (*p++ != 0x60)
return GSS_S_DEFECTIVE_TOKEN;