kdc: fix compliance with RFC 8062 Section 4.1
commit2f013b0d48552b263f5e90279692f55e152ba060
authorLuke Howard <lukeh@padl.com>
Wed, 1 May 2019 06:32:44 +0000 (1 16:32 +1000)
committerJeffrey Altman <jaltman@auristor.com>
Tue, 14 May 2019 19:16:19 +0000 (14 15:16 -0400)
tree80362b8ee342dd91fe0bf0a86325fabd25538867
parent1bc2eb33f9992142815152581c9fe2a8894d7964
kdc: fix compliance with RFC 8062 Section 4.1

RFC 8062 states that if the client in the AS request is anonymous, the
anonymous KDC option must be set in the request; otherwise, KDC_ERR_BADOPTION
must be returned. We were previously returning KDC_ERR_C_PRINCIPAL_UNKNOWN.
kdc/kerberos5.c