Question about proper return code in KCM impl
Alexey Tikhonov <[email protected]> Fri, 1 Oct 2021 17:13:08 +0200
| Newsgroups | gmane.comp.encryption.kerberos.devel |
|---|---|
| Message-ID | <CABPeg3Yqn5wtcm49W4nhecOv9CYMYJg5gGLPGs700Ea8Mfzi-Q@mail.gmail.com> |
Hello, I've got a question about proper return code in a specific scenario in SSSD implementation of KCM server. Case in question: KCM server fails to parse entry in internal DB during ccache lookup (for example 'KCM operation GET_PRINCIPAL') Currently sssd-kcm returns 'KRB5_FCC_INTERNAL'. I'm going to change this to delete the malformed entry (*) and return 'KRB5_CC_NOTFOUND'. Would it be ok from krb5 point of view? *) The reason I'm touching this is that SSSD drops support for the old time deprecated internal ccache format and we need to gracefully handle the case if somebody still has very old tickets in the wild... Thank you, Alexey. _______________________________________________ krbdev mailing list [email protected] https://mailman.mit.edu/mailman/listinfo/krbdev