summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-06 13:20:06 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-06 13:20:06 +0000
commitcbb25c71d052c5fc2f4d526625d558f0c33f587e (patch)
treefe8c09362ab62d12a905598a07de11762f972f12
parent404f14fb36577ee182fd8a928e6cb7b374e4ecb9 (diff)
downloadsamba-cbb25c71d052c5fc2f4d526625d558f0c33f587e.tar.gz
samba-cbb25c71d052c5fc2f4d526625d558f0c33f587e.tar.bz2
samba-cbb25c71d052c5fc2f4d526625d558f0c33f587e.zip
fixed rename error code from NT servers
(This used to be commit e7516901270a4a790a3e346065eb2be8ede16cb3)
-rw-r--r--source3/libsmb/clientgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 93f7a3d222..70231e3c94 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -2295,6 +2295,7 @@ int cli_error(struct cli_state *cli, uint8 *eclass, uint32 *num)
case NT_STATUS_OBJECT_NAME_NOT_FOUND: return ENOENT;
case NT_STATUS_SHARING_VIOLATION: return EBUSY;
case NT_STATUS_OBJECT_PATH_INVALID: return ENOTDIR;
+ case NT_STATUS_OBJECT_NAME_COLLISION: return EEXIST;
}
/* for all other cases - a default code */