summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-05-07 09:50:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:28 -0500
commit22cf8924a9b799bc7c833ac8a6caabbee381d6cb (patch)
treea83eba5a616902f491cf8d9696ff2425b354ac6d /source3/libsmb
parent9259481d8626c542eaa3f87b17e346d8ad85e994 (diff)
downloadsamba-22cf8924a9b799bc7c833ac8a6caabbee381d6cb.tar.gz
samba-22cf8924a9b799bc7c833ac8a6caabbee381d6cb.tar.bz2
samba-22cf8924a9b799bc7c833ac8a6caabbee381d6cb.zip
r547: Add entry for NT_STATUS_DUPLICATE_NAME in the ntstatus to unix error mapping
table (This used to be commit 31c21d520d030e27e4adc6075a50026724b87173)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clierror.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c
index c27e1955e2..ec0ca53a85 100644
--- a/source3/libsmb/clierror.c
+++ b/source3/libsmb/clierror.c
@@ -319,6 +319,9 @@ static struct {
{NT_STATUS_PORT_UNREACHABLE, EHOSTUNREACH},
{NT_STATUS_IO_TIMEOUT, ETIMEDOUT},
{NT_STATUS_RETRY, EAGAIN},
+#ifdef ENOTUNIQ
+ {NT_STATUS_DUPLICATE_NAME, ENOTUNIQ},
+#endif
#ifdef ECOMM
{NT_STATUS_NET_WRITE_FAULT, ECOMM},
#endif