projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use cannonical DNS name when constructing the principal for passwd verification ...
[mod_auth_kerb.git]
/
src
/
mod_auth_kerb.c
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
2532b30
..
e204b69
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-573,7
+573,7
@@
verify_krb5_user(request_rec *r, krb5_context context, krb5_principal principal,
}
ret = krb5_sname_to_principal(context, ap_get_server_name(r), service,
- KRB5_NT_
UNKNOWN
, &server);
+ KRB5_NT_
SRV_HST
, &server);
if (ret) {
log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"krb5_sname_to_principal() failed: %s",