krb5: check KDC supports anonymous if requested
authorLuke Howard <lukeh@padl.com>
Sat, 18 May 2019 03:55:36 +0000 (13:55 +1000)
committerJeffrey Altman <jaltman@auristor.com>
Sun, 19 May 2019 00:31:52 +0000 (20:31 -0400)
commit014e318d6bdefd8ecfcb99ca9928921f6a49d721
tree174757016c371ec7b1835bcafa4da55dc0db27ef
parent5c70e5015edbe056eb192c166c3056c29d70482b
krb5: check KDC supports anonymous if requested

Verify the KDC recognized the request-anonymous flag by validating the returned
client principal name.
lib/krb5/get_cred.c
lib/krb5/get_in_tkt.c
lib/krb5/init_creds_pw.c
lib/krb5/krb5_locl.h
lib/krb5/ticket.c