From 199809b3cc51109aca9b8f2c4f21bd5bf69d36c5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 3 Mar 2011 00:06:13 +0100 Subject: nterr: make sure both nt_err_desc structs are the same. Guenther --- source3/libsmb/nterr.c | 3 +++ source4/libcli/util/nterr.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c index 99251694eb..fdb6fe3c8b 100644 --- a/source3/libsmb/nterr.c +++ b/source3/libsmb/nterr.c @@ -603,8 +603,10 @@ static const nt_err_code_struct nt_err_desc[] = { N_("Invalid workstation"), NT_STATUS_INVALID_WORKSTATION }, { N_("Password expired"), NT_STATUS_PASSWORD_EXPIRED }, { N_("Account disabled"), NT_STATUS_ACCOUNT_DISABLED }, + { N_("Unexpected information received"), NT_STATUS_INVALID_PARAMETER }, { N_("Memory allocation error"), NT_STATUS_NO_MEMORY }, { N_("No domain controllers located"), NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND }, + { N_("Account locked out"), NT_STATUS_ACCOUNT_LOCKED_OUT }, { N_("Named pipe not available"), NT_STATUS_PIPE_NOT_AVAILABLE }, { N_("Not implemented"), NT_STATUS_NOT_IMPLEMENTED }, { N_("Invalid information class"), NT_STATUS_INVALID_INFO_CLASS }, @@ -615,6 +617,7 @@ static const nt_err_code_struct nt_err_desc[] = { N_("No memory"), NT_STATUS_NO_MEMORY }, { N_("Buffer too small"), NT_STATUS_BUFFER_TOO_SMALL }, { N_("Revision mismatch"), NT_STATUS_REVISION_MISMATCH }, + { N_("No logon servers"), NT_STATUS_NO_LOGON_SERVERS }, { N_("No such logon session"), NT_STATUS_NO_SUCH_LOGON_SESSION }, { N_("No such privilege"), NT_STATUS_NO_SUCH_PRIVILEGE }, { N_("Procedure not found"), NT_STATUS_PROCEDURE_NOT_FOUND }, diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c index 82354dba26..d854d7d142 100644 --- a/source4/libcli/util/nterr.c +++ b/source4/libcli/util/nterr.c @@ -795,6 +795,8 @@ static const nt_err_code_struct nt_err_desc[] = { N_("Duplicate name on network"), NT_STATUS_DUPLICATE_NAME }, { N_("Print queue is full"), NT_STATUS_PRINT_QUEUE_FULL }, { N_("No print spool space available"), NT_STATUS_NO_SPOOL_SPACE }, + { N_("The network name cannot be found"), NT_STATUS_BAD_NETWORK_NAME }, + { N_("The connection was refused"), NT_STATUS_CONNECTION_REFUSED }, { N_("Too many names"), NT_STATUS_TOO_MANY_NAMES }, { N_("Too many sessions"), NT_STATUS_TOO_MANY_SESSIONS }, { N_("Invalid server state"), NT_STATUS_INVALID_SERVER_STATE }, @@ -835,6 +837,7 @@ static const nt_err_code_struct nt_err_desc[] = { N_("Insufficient logon information"), NT_STATUS_INSUFFICIENT_LOGON_INFO }, { N_("License quota exceeded"), NT_STATUS_LICENSE_QUOTA_EXCEEDED }, + { N_("No more files"), STATUS_NO_MORE_FILES }, { NULL, NT_STATUS(0) } }; -- cgit