1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

nterr: make sure both nt_err_desc structs are the same.

Guenther
This commit is contained in:
Günther Deschner
2011-03-03 00:06:13 +01:00
parent 45710a05c5
commit 199809b3cc
2 changed files with 6 additions and 0 deletions

View File

@ -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 },

View File

@ -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) }
};