]> git.ipfire.org Git - thirdparty/krb5.git/commit
Pass client flag to KDB for client preauth match 1236/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 18 Jan 2022 22:06:46 +0000 (17:06 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 27 Jan 2022 21:08:43 +0000 (16:08 -0500)
commitd4359c66c78a2c59e6bf3b905c4de58e920c7349
treed23d995234bcea653ed0733745a83907c6bc39f6
parent78fd66926c4be5910c1e21d9e553dfb792ae822a
Pass client flag to KDB for client preauth match

In the kdcpreauth match_client() callback, if it is necessary to look
up the given principal in the KDB, pass KRB5_KDB_FLAG_CLIENT to
krb5_db_get_principal().  Samba requires this flag to properly handle
enterprise client principals.

ticket: 9048 (new)
src/kdc/kdc_preauth.c