mini-patch: remove duplicates from nt_err_desc

Michael Adam ma at sernet.de
Tue Aug 15 10:26:13 GMT 2006


Hi,

I stubled across two duplicate entries in the nt_err_desc array 
in libsmb/nterr.c ...

Best, Michael

-------------- next part --------------
Index: libsmb/nterr.c
===================================================================
--- libsmb/nterr.c	(revision 17551)
+++ libsmb/nterr.c	(working copy)
@@ -572,7 +572,6 @@
 	{ "Unexpected information received", 	NT_STATUS_INVALID_PARAMETER },
 	{ "Memory allocation error", 		NT_STATUS_NO_MEMORY },
 	{ "No domain controllers located", 	NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND },
-	{ "Account locked out", 		NT_STATUS_ACCOUNT_LOCKED_OUT },
 	{ "Named pipe not available", 		NT_STATUS_PIPE_NOT_AVAILABLE },
 	{ "Not implemented", 			NT_STATUS_NOT_IMPLEMENTED },
 	{ "Invalid information class", 		NT_STATUS_INVALID_INFO_CLASS },
@@ -583,7 +582,6 @@
 	{ "No memory", 				NT_STATUS_NO_MEMORY },
 	{ "Buffer too small", 			NT_STATUS_BUFFER_TOO_SMALL },
 	{ "Revision mismatch", 			NT_STATUS_REVISION_MISMATCH },
-	{ "No logon servers", 			NT_STATUS_NO_LOGON_SERVERS },
 	{ "No such logon session", 		NT_STATUS_NO_SUCH_LOGON_SESSION },
 	{ "No such privilege", 			NT_STATUS_NO_SUCH_PRIVILEGE },
 	{ "Procedure not found", 		NT_STATUS_PROCEDURE_NOT_FOUND },


More information about the samba-technical mailing list