diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-06 13:20:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-06 13:20:06 +0000 |
commit | cbb25c71d052c5fc2f4d526625d558f0c33f587e (patch) | |
tree | fe8c09362ab62d12a905598a07de11762f972f12 | |
parent | 404f14fb36577ee182fd8a928e6cb7b374e4ecb9 (diff) | |
download | samba-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.c | 1 |
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 */ |