[Samba] Re: Samba 2.2.3 released (new problems with W2k clients - need help)

Jeremy Allison jra at samba.org
Mon Feb 4 20:14:02 GMT 2002


On Mon, Feb 04, 2002 at 01:48:02AM +0100, Martin Thomas wrote:
> 
> Hello Samba-Team and List-Members
> 
> First: congratulations to the 2.2.3 release. Especially the
> PDC/BDC support and documentation is very interesting
> 
> BUT I still have the problem with 'overwriting' or 'replacing' files on a 
> samba share. I described this in a mail to the samba-technical mailing-list
> last week since I already had the issue with a CVS version. 
> But did not get a response so far - it seems that everybody was very
> busy with the new release.
> ( http://lists.samba.org/pipermail/samba-technical/2002-February/034446.html )
> 
> I did some tests with the samba 2.2.3 tar release and the problem is still there.
> Files and Directories already in a share can not be replaced with newer ones.
> With Version 2.2.2 this was possible and I did not change the configuration-
> settings or the smb.conf.
> 
> I can reproduce it on two servers (Suse Linux 6.3 with updated Kernel 2.4.16
> and Debian with Kernel 2.2.18) with different clients (all Windows 2000 SP2).
> 
> I hope someone else can reproduce it, for example like this:
> (I wrote the original german messages in () behind my translations - 
> maybe someone can send the exact messages from the english 
> Windows 2K)

Aaaarggggh ! Ok - thanks for the bug report. A stupid typo
in the errormap : here's the patch. I'll probably do a 2.2.3a 
whilst I'm in Brisbane :-(.

Jeremy.

Index: lib/error.c
===================================================================
RCS file: /data/cvs/samba/source/lib/error.c,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 error.c
--- lib/error.c 16 Jan 2002 21:27:52 -0000      1.2.2.2
+++ lib/error.c 5 Feb 2002 02:34:00 -0000
@@ -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 },





More information about the samba-technical mailing list