auth/credentials: add cli_credentials_get_ccache_name_obtained()
commitc7d3946659ff9ce167f68f3f052fae02a8907869
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Apr 2022 11:29:47 +0000 (14 13:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 May 2024 11:30:33 +0000 (7 11:30 +0000)
tree1db272d53d95155e47d4b4c3c23c2acc66ce85ab
parent4723d695608e7737176e4f6eb407885a38989fc8
auth/credentials: add cli_credentials_get_ccache_name_obtained()

It's often good to know if a credential structure already has
a valid kerberos credential cache attached, without the side
effect of doing a kinit and prompt for a password.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15018

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
auth/credentials/credentials.h
auth/credentials/credentials_krb5.c