1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r23723: Alexander Larsson pointed me at a missing mapping in clierror.c

When renaming a file across 2 filesystem a samba server returns
NT_STATUS_NOT_SAME_DEVICE but thius is not translated to EXDEV,
and the generic EINVAL is returned instead.
This should fix it, Jeremy or Derrel please check if this is ok.
(This used to be commit b35038fa4e)
This commit is contained in:
Simo Sorce 2007-07-05 13:46:47 +00:00 committed by Gerald (Jerry) Carter
parent c509ce3675
commit 4ce65137d9

View File

@ -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}
};