> -----Original Message----- > Date: Mon, 02 Feb 1998 10:58:39 -0800 > From: Jeremy Allison <jallison@whistle.com> > To: Magnus Hammerin <magnush@epact.se> > Subject: Re: Problems with 1.9.18p2 > Message-ID: <34D6175F.7DE14518@whistle.com> > > > You are hitting what I believe to be a bug > in the NT redirector. I have a work around for the p2 > code which I am willing to send you if you are able > to test it. If the work-aound fixes the bug it will > be in 1.9.18p3 - I am waiting for a few more confirmations > that some changes I have made have fixed bugs before > we issue a p3. >[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 Samba log files showed multiple errors such as:- check_file_sharing: NT redirector workaround - rename attempted on batch oplocked file docs/some filename.doc, dev = 8000f3, inode = cfbe4 Inserting 'oplocks = false' in smb.conf cleared the problem. There were no problems with WfWG or Win95 systems. I would be happy to test Jeremy's patch. Charles ____________________________________ Charles Page, Computer Manager (St.Mary's) Imperial College Centre for Computing Services Norfolk Place, LONDON W2 1PG tel:+44 (171) 886 1231; fax:+44 (171) 886 6765 email: C.Page@ic.ac.uk ____________________________________
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@sni.de -------------------------------------------------------------------------
You mentioned: | The Samba log files showed multiple errors such as:- | check_file_sharing: NT redirector workaround - rename attempted on batch | oplocked file docs/some filename.doc, dev = 8000f3, inode = cfbe4 Sounds like Word or Outlook was taking a batch oplock on a non-.BAT file... unless outlook was using batch to do something complicated. Methinks we're seeing experienced MS developers depending on an undocumented feature in the MS oplock implementation... --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | davecb@hobbes.ss.org, canada.sun.com M2N 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb