NT_STATUS_INVALID_PARAMETER doubly resolved

Michael Adam ma at sernet.de
Thu Aug 17 15:11:31 GMT 2006


Hi, 

in the cleartext resolution in of NT_STATUS codes 
in libsmb/nterr.c:nt_err_desc[], NT_STATUS_INVALID_PARAMETER
is resolved twice: once as "Invalid parameter", and once
as "Unexpected information received", which seems strange to me.

The attached patch removes the second resolution...

Cheers, Michael

-------------- next part --------------
Index: libsmb/nterr.c
===================================================================
--- libsmb/nterr.c	(revision 17589)
+++ libsmb/nterr.c	(working copy)
@@ -569,7 +569,6 @@
 	{ "Invalid workstation", 		NT_STATUS_INVALID_WORKSTATION },
 	{ "Password expired", 			NT_STATUS_PASSWORD_EXPIRED },
 	{ "Account disabled", 			NT_STATUS_ACCOUNT_DISABLED },
-	{ "Unexpected information received", 	NT_STATUS_INVALID_PARAMETER },
 	{ "Memory allocation error", 		NT_STATUS_NO_MEMORY },
 	{ "No domain controllers located", 	NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND },
 	{ "Named pipe not available", 		NT_STATUS_PIPE_NOT_AVAILABLE },


More information about the samba-technical mailing list