From: | ghudson@mit.edu |
Subject: | SVN Commit |
Be more flexible about the principal names we will accept for a given
GSS acceptor name. Also add support for a new libdefaults profile
variable ignore_acceptor_hostname, which causes the hostnames of
host-based service principals to be ignored when passed by server
applications as acceptor names.
Note that we still always invoke krb5_sname_to_principal() when
importing a gss-krb5 mechanism name, even though we won't always use
the result. This is an unfortunate waste of getaddrinfo/getnameinfo
queries in some situations, but the code surgery necessary to defer
it appears too risky at this time.
The project proposal for this change is at:
http://k5wiki.kerberos.org/wiki/Projects/Acceptor_Names
https://github.com/krb5/krb5/commit/66587fcd6380eac2c53674df4f64a827d337aee5
Commit By: ghudson
Revision: 24616
Changed Files:
U trunk/doc/admin.texinfo
U trunk/src/config-files/krb5.conf.M
U trunk/src/include/k5-int.h
U trunk/src/include/krb5/krb5.hin
U trunk/src/lib/gssapi/krb5/accept_sec_context.c
U trunk/src/lib/gssapi/krb5/acquire_cred.c
U trunk/src/lib/gssapi/krb5/gssapiP_krb5.h
U trunk/src/lib/gssapi/krb5/import_name.c
U trunk/src/lib/gssapi/krb5/naming_exts.c
U trunk/src/lib/gssapi/krb5/s4u_gss_glue.c
U trunk/src/lib/gssapi/krb5/ser_sctx.c
U trunk/src/lib/krb5/krb/Makefile.in
U trunk/src/lib/krb5/krb/init_ctx.c
U trunk/src/lib/krb5/krb/rd_req_dec.c
A trunk/src/lib/krb5/krb/sname_match.c
U trunk/src/lib/krb5/libkrb5.exports
U trunk/src/lib/krb5_32.def
U trunk/src/tests/gssapi/Makefile.in
A trunk/src/tests/gssapi/t_accname.c
U trunk/src/tests/gssapi/t_gssapi.py