mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
smbspool: let kerberos_ccache_is_valid() use smb_force_krb5_cc_default_name()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
4514fb5f43
commit
845a2aae6f
@ -608,7 +608,7 @@ static bool kerberos_ccache_is_valid(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ccache_name = krb5_cc_default_name(ctx);
|
||||
ccache_name = smb_force_krb5_cc_default_name(ctx);
|
||||
if (ccache_name == NULL) {
|
||||
DBG_ERR("Failed to get default ccache name\n");
|
||||
krb5_free_context(ctx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user