oplocks - NT redirector

Andrej Borsenkow borsenkow.msk at sni.de
Tue Feb 3 15:00:25 GMT 1998


On Wed, 4 Feb 1998, Page, Charles wrote:

> [Page, Charles]  I have encountered a similar, but different problem. I
> upgraded to Samba 1.9.18p2 but fairly soon had error reports from users
> on NT v4 workstations. Word documents could be saved to Samba
> directories using 'Save As' but had permissions problems when attempting
> a simple 'Save'. Microsoft Outlook failed to print due to problems with
> renaming 'outlprnt'.
> 

The p2 missed one line patch. here it is. It is O.K. with this patch (just
tested - at least with Word). If it got mangled - just replace #if 0 with
#if 1

Thanks, Jeremy!!!

--- server.c.org	Tue Feb  3 10:54:24 1998
+++ server.c	Tue Feb  3 10:55:34 1998
@@ -1637,7 +1637,7 @@
           {
             DEBUG(0,("check_file_sharing: NT redirector workaround - rename attempted on \
 batch oplocked file %s, dev = %x, inode = %x\n", fname, dev, inode));
-#if 0
+#if 1
             /* 
              * This next line is a test that allows the deny-mode
              * processing to be skipped. JRA.



-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk at sni.de
-------------------------------------------------------------------------




More information about the samba mailing list