git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c18f9
)
fixed rename error code from NT servers
author
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Oct 1998 13:20:06 +0000
(13:20 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Oct 1998 13:20:06 +0000
(13:20 +0000)
source/libsmb/clientgen.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clientgen.c
b/source/libsmb/clientgen.c
index 93f7a3d222b26878548cf0863094cc8117631ab9..70231e3c94c8c7861e3630a71d14cb84662751c7 100644
(file)
--- a/
source/libsmb/clientgen.c
+++ b/
source/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 */