https://launchpad.net/bugs/276472
This patch adds the translation of Unix Error code -ENOTSUP to NT Error Code
NT_STATUS_NOT_SUPPORTED. The absense of this translation wrongly sends back to
the client a STATUS_DENIED message in samba3.
Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
#ifdef ECANCELED
{ ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
#endif
-
+#ifdef ENOTSUP
+ { ENOTSUP, ERRSRV, ERRnosupport, NT_STATUS_NOT_SUPPORTED},
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};