projects
/
mod_auth_kerb.cvs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b495031
)
Don't use DNS lookups when constructing the server principal name. This allows
author
kouril
<kouril>
Wed, 25 Feb 2004 17:16:20 +0000
(17:16 +0000)
committer
kouril
<kouril>
Wed, 25 Feb 2004 17:16:20 +0000
(17:16 +0000)
to use the VirtualServer names as specified in the httpd.conf
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
62b9853
..
ee3b42d
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-481,7
+481,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_
SRV_HST
, &server);
+ KRB5_NT_
UNKNOWN
, &server);
if (ret) {
log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"krb5_sname_to_principal() failed: %s",