diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index d98f4282179..90e82c51014 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -336,7 +336,9 @@ static const struct { #ifdef ECOMM {NT_STATUS_NET_WRITE_FAULT, ECOMM}, #endif - +#ifdef EXDEV + {NT_STATUS_NOT_SAME_DEVICE, EXDEV}, +#endif {NT_STATUS(0), 0} };