credentials: Fix set_ccache with empty creds cache
authorVolker Lendecke <vl@samba.org>
Wed, 21 Nov 2018 14:28:42 +0000 (15:28 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 28 Nov 2018 16:44:14 +0000 (17:44 +0100)
commit730beac16200b92dc6dd85a11747940d6f50600d
tree048f2104f574a15fd99d4e595cda85a5dcd37f09
parentc59f5f2977341ea0aa5a16bcd14b657bfdf59907
credentials: Fix set_ccache with empty creds cache

This is an extension of bb2f7e3aee7e9b8: Without this fix in the
"empty ccache" case we never set cred->ccache, so the whole call to
cli_credentials_set_ccache became pointless

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
auth/credentials/credentials_krb5.c