mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:libads: let kerberos_kinit_password_ext() always initialize *ntstatus
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
e470d33194
commit
890fd84486
@ -132,6 +132,10 @@ int kerberos_kinit_password_ext(const char *given_principal,
|
||||
|
||||
ZERO_STRUCT(my_creds);
|
||||
|
||||
if (ntstatus) {
|
||||
*ntstatus = NT_STATUS_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
if (cache_name == NULL) {
|
||||
DBG_DEBUG("Missing ccache for [%s] and config [%s]\n",
|
||||
given_principal,
|
||||
|
Loading…
Reference in New Issue
Block a user