s3:lib add mapping for ETXTBSY
[samba.git] / source3 / lib / errmap_unix.c
index 28f527ec95e69fe356b19d4dbf9105dacfcd2163..c5e190ce8c23fe44c5a73a09b0de0b92d3db099a 100644 (file)
@@ -111,6 +111,9 @@ static const struct {
 #ifdef ENOTSUP
         { ENOTSUP,      NT_STATUS_NOT_SUPPORTED},
 #endif
+#ifdef ETXTBSY
+       { ETXTBSY,      NT_STATUS_SHARING_VIOLATION },
+#endif
 };
 
 /*********************************************************************