fixed rename error code from NT servers
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Oct 1998 13:20:06 +0000 (13:20 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Oct 1998 13:20:06 +0000 (13:20 +0000)
source/libsmb/clientgen.c

index 93f7a3d222b26878548cf0863094cc8117631ab9..70231e3c94c8c7861e3630a71d14cb84662751c7 100644 (file)
@@ -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 */