summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-04-23 14:47:45 +0000
committerMatthew Chapman <matty@samba.org>1999-04-23 14:47:45 +0000
commitcf30a472f702d7b50c3a85e2cf2f55b46a2bd452 (patch)
treecc768f76e49d6cfd07956c6e561a5939920b2b2c /source/libsmb
parentfc53314032ddfb6c2baf128399f43b42316417eb (diff)
downloadsamba-cf30a472f702d7b50c3a85e2cf2f55b46a2bd452.tar.gz
samba-cf30a472f702d7b50c3a85e2cf2f55b46a2bd452.tar.xz
samba-cf30a472f702d7b50c3a85e2cf2f55b46a2bd452.zip
Adding scheduler control pipe (\atsvc), client-side routines, and rpcclient
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/nterr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libsmb/nterr.c b/source/libsmb/nterr.c
index d2f9335000d..b094050a33a 100644
--- a/source/libsmb/nterr.c
+++ b/source/libsmb/nterr.c
@@ -514,6 +514,7 @@ nt_err_code_struct nt_errs[] =
{ "NT_STATUS_TOO_MANY_LINKS", NT_STATUS_TOO_MANY_LINKS },
{ "NT_STATUS_QUOTA_LIST_INCONSISTENT", NT_STATUS_QUOTA_LIST_INCONSISTENT },
{ "NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE },
+ { "NT_STATUS_NO_SUCH_JOB", NT_STATUS_NO_SUCH_JOB },
{ NULL, 0 }
};
@@ -525,7 +526,7 @@ char *get_nt_error_msg(uint32 nt_code)
static pstring msg;
int idx = 0;
- pstrcpy(msg, "Unknown NT error");
+ snprintf(msg, sizeof(msg), "%08x", nt_code);
nt_code &= 0xFFFF;