1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbspool: Add string representation of nt_status

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jan 22 20:59:36 CET 2016 on sn-devel-144
This commit is contained in:
Andreas Schneider 2016-01-12 15:16:43 +01:00
parent c3aaf6492f
commit 8ec92e5073

View File

@ -346,8 +346,8 @@ get_exit_code(struct cli_state * cli,
};
fprintf(stderr, "DEBUG: get_exit_code(cli=%p, nt_status=%x)\n",
cli, NT_STATUS_V(nt_status));
fprintf(stderr, "DEBUG: get_exit_code(cli=%p, nt_status=%s [%x])\n",
cli, nt_errstr(nt_status), NT_STATUS_V(nt_status));
for (i = 0; i < ARRAY_SIZE(auth_errors); i++) {
if (!NT_STATUS_EQUAL(nt_status, auth_errors[i])) {