nterr: make sure both nt_err_desc structs are the same.
authorGünther Deschner <gd@samba.org>
Wed, 2 Mar 2011 23:06:13 +0000 (00:06 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 4 Mar 2011 00:18:42 +0000 (01:18 +0100)
Guenther

source3/libsmb/nterr.c
source4/libcli/util/nterr.c

index 99251694ebeb9236e1f6211c72916dc34aea0154..fdb6fe3c8b4f5e4febca22a75adc37d4b71351df 100644 (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 },
index 82354dba26002def79b0e9a43ed66805ee01e117..d854d7d14289119b6cfc4484e5653912177de014 100644 (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) }
 };