[Samba] Re: Samba 2.2.3 - Unable to replace old file on share

Andrew Bartlett abartlet at pcug.org.au
Wed Feb 6 13:12:05 GMT 2002


Juer Lee wrote:
> 
> Yes, I want to grap 2.2 CVS only, but could you(or Jeremy?)  tell me how
> many files affected.

1 line of 1 file.

(a couple of other fixes might get in, but this is the main one).

Index: source/lib/error.c
===================================================================
RCS file: /cvsroot/samba/source/lib/error.c,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -r1.2.2.2 -r1.2.2.3
--- source/lib/error.c	16 Jan 2002 21:27:52 -0000	1.2.2.2
+++ source/lib/error.c	5 Feb 2002 02:36:45 -0000	1.2.2.3
@@ -31,7 +31,7 @@
 	{ EIO, ERRHRD, ERRgeneral, NT_STATUS_IO_DEVICE_ERROR },
 	{ EBADF, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE },
 	{ EINVAL, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE },
-	{ EEXIST, ERRDOS, ERRfilexists, NT_STATUS_ACCESS_DENIED},
+	{ EEXIST, ERRDOS, ERRfilexists, NT_STATUS_OBJECT_NAME_COLLISION},
{ ENFILE, ERRDOS, ERRnofids, NT_STATUS_TOO_MANY_OPENED_FILES },
 	{ EMFILE, ERRDOS, ERRnofids, NT_STATUS_TOO_MANY_OPENED_FILES },
 	{ ENOSPC, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL },


-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list