mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
A small change to print out the error message only if we could not check the
secrets ... (This used to be commit 56eea2623a8a8f2a5a0311cda6d0282d0037a3cc)
This commit is contained in:
parent
80b22f6433
commit
4f8b957f40
@ -258,9 +258,10 @@ static BOOL wbinfo_check_secret(void)
|
||||
d_printf("checking the trust secret via RPC calls %s\n",
|
||||
(result == NSS_STATUS_SUCCESS) ? "succeeded" : "failed");
|
||||
|
||||
d_printf("error code was %s (0x%x)\n",
|
||||
response.data.auth.nt_status_string,
|
||||
response.data.auth.nt_status);
|
||||
if (result != NSS_STATUS_SUCCESS)
|
||||
d_printf("error code was %s (0x%x)\n",
|
||||
response.data.auth.nt_status_string,
|
||||
response.data.auth.nt_status);
|
||||
|
||||
return result == NSS_STATUS_SUCCESS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user