On Wed, Sep 07, 2005 at 10:54:17AM +0300, Catalin TOMOZEI wrote:
> Server - Samba 3.0.20 on INTEL P4 running Slackware 10.1 Client - Windows 
> 98.
> 
> Can log in, see, browse, and write.
> 
> Just can't run simultaneous, same *.exe from 2 different computers with 
> Windows 98
> 
> With Windows 2000, Xp this keep good time.
> 
> On samba 3.0.14a, with same smb.conf this problem dont exist.

This has just been fixed in SVN. Here is the patch :

Jeremy.
Author: jra
Revision: r10133
Modified: source/smbd/open.c
Added: 
Removed: 


Fix bug #3044. open-exec is read-only.
Jeremy.


Index: source/smbd/open.c
===================================================================
--- source/smbd/open.c  (revision 10132)
+++ source/smbd/open.c  (revision 10133)
@@ -1046,13 +1046,13 @@
 
        /* Create the NT compatible access_mask. */
        switch (GET_OPENX_MODE(deny_mode)) {
+               case DOS_OPEN_EXEC: /* Implies read-only - used to be 
FILE_READ_DATA */
                case DOS_OPEN_RDONLY:
                        access_mask = FILE_GENERIC_READ;
                        break;
                case DOS_OPEN_WRONLY:
                        access_mask = FILE_GENERIC_WRITE;
                        break;
-               case DOS_OPEN_EXEC: /* This used to be FILE_READ_DATA... */
                case DOS_OPEN_RDWR:
                case DOS_OPEN_FCB:
                        access_mask = FILE_GENERIC_READ|FILE_GENERIC_WRITE;

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to