svn commit: samba r11546 - in
branches/SAMBA_4_0/source/libcli/util: .
metze at samba.org
metze at samba.org
Mon Nov 7 11:44:09 GMT 2005
Author: metze
Date: 2005-11-07 11:44:08 +0000 (Mon, 07 Nov 2005)
New Revision: 11546
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11546
Log:
add more errno ntstatus mappings, to get more usefull errors from socket_wrapper
metze
Modified:
branches/SAMBA_4_0/source/libcli/util/errormap.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/errormap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/errormap.c 2005-11-07 03:05:34 UTC (rev 11545)
+++ branches/SAMBA_4_0/source/libcli/util/errormap.c 2005-11-07 11:44:08 UTC (rev 11546)
@@ -1320,6 +1320,21 @@
#ifdef EFBIG
{ EFBIG, NT_STATUS_DISK_FULL },
#endif
+#ifdef EADDRNOTAVAIL
+ { EADDRNOTAVAIL,NT_STATUS_ADDRESS_NOT_ASSOCIATED },
+#endif
+#ifdef ESOCKTNOSUPPORT
+ { ESOCKTNOSUPPORT,NT_STATUS_INVALID_PARAMETER_MIX },
+#endif
+#ifdef EAFNOSUPPORT
+ { EAFNOSUPPORT, NT_STATUS_INVALID_PARAMETER_MIX },
+#endif
+#ifdef ENOPROTOOPT
+ { ENOPROTOOPT, NT_STATUS_INVALID_PARAMETER_MIX },
+#endif
+#ifdef ENODEV
+ { ENODEV, NT_STATUS_NO_SUCH_DEVICE },
+#endif
{ 0, NT_STATUS_UNSUCCESSFUL }
};
More information about the samba-cvs
mailing list