summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-03 00:06:13 +0100
committerGünther Deschner <gd@samba.org>2011-03-04 01:18:42 +0100
commit199809b3cc51109aca9b8f2c4f21bd5bf69d36c5 (patch)
tree59465580b7a173db0e87af84811eb02112593412
parent45710a05c5daccc3f1b2127ce24a87850fc42e33 (diff)
downloadsamba-199809b3cc51109aca9b8f2c4f21bd5bf69d36c5.tar.gz
samba-199809b3cc51109aca9b8f2c4f21bd5bf69d36c5.tar.xz
samba-199809b3cc51109aca9b8f2c4f21bd5bf69d36c5.zip
nterr: make sure both nt_err_desc structs are the same.
Guenther
-rw-r--r--source3/libsmb/nterr.c3
-rw-r--r--source4/libcli/util/nterr.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index 99251694ebe..fdb6fe3c8b4 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 82354dba260..d854d7d1428 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) }
};