]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove KRB5_KDB_FLAG_ALIAS_OK 1018/head
authorIsaac Boukris <iboukris@gmail.com>
Wed, 25 Dec 2019 23:23:21 +0000 (00:23 +0100)
committerGreg Hudson <ghudson@mit.edu>
Sat, 28 Dec 2019 06:02:40 +0000 (01:02 -0500)
commitac8865a22138ab0c657208c41be8fd6bc7968148
tree7b757d90fb25d1fbded459c4a8210ea5af7b36b5
parent3f5955631a2056f8ec4d1ce73d9681fa7da061c2
Remove KRB5_KDB_FLAG_ALIAS_OK

It is simpler and more consistent with Windows to let the KDB module
always return aliases, and use KDC logic (already present) to decide
whether to use the requested or canonical principal name in the
ticket.

With the removal of this flag, "kinit alias" (without the -C flag)
against the LDAP KDB module will issue a ticket for the alias name,
instead of failing with a "client not found" error.

[ghudson@mit.edu: edited comments; wrote commit message]

ticket: 8859 (new)
src/include/kdb.h
src/kdc/do_as_req.c
src/kdc/do_tgs_req.c
src/kdc/kdc_preauth.c
src/kdc/kdc_util.c
src/lib/kadm5/srv/server_kdb.c
src/lib/kdb/kdb5.c
src/lib/kdb/kdb_default.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
src/plugins/kdb/test/kdb_test.c
src/tests/t_kdb.py