"File being modified" Win2000

Doug Douglass samba at denverdata.com
Wed Dec 12 08:23:05 GMT 2001


David,

Is this file some type of MS Office document? I suspect it is, in which case
I'm not certain that any combination of samba locking settings will solve
your problem.

Look for any temp files in the directory with the file being opened (similar
in name to the file to be opened, but obviously a wierd name). If one (or
more) are there, then either the file is still in use by this other person,
or the application did not exit properly and clean them up.

HTH,
Doug

> -----Original Message-----
> From: samba-ntdom-admin at lists.samba.org
> [mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of David Highley
> Sent: Tuesday, December 11, 2001 9:46 PM
> To: NTDomain Samba
> Subject: Re: "File being modified" Win2000
>
>
> "David Moruzzi wrote:"
> >
> > I have been working with Samba 2.2.0 and have hit a major
> problem when users
> > accessing files from the server.
> >
> > A 'FILE RESERVATION' warning pops---in Windows 2000--up with an
> error saying
> > that the "File.xyz is being modified by USER---where user is
> the last person
> > to have opened the file.
> >
> > I have tried turning of oplocks and kernel locks in the Global
> section of
> > the smd.conf:
>
> Try the following in the share section:
>     oplocks = No
>     level2 oplocks = No
>
> >
> > [global]
> >         client code page = 437
> >         workgroup = XYZ
> >         server string = San Francisco File Server
> >         security = DOMAIN
> >         encrypt passwords = Yes
> >         password server = sfprinters, nyprinters
> >         passwd program = /usr/bin/yppasswd %u
> >         log file = /usr/local/samba/var/log.%m
> >         local master = No
> >         wins server = xx.xx.xx.xx
> >         kernel oplocks = No
> >         create mask = 0666
> >         directory mask = 0777
> >         oplocks = No
> >
> > This does not seems to work. Also I have been unable to get the
> log file to
> > use the %m variable and create a separate file for each client.
> Are these
> > bugs of 2.2.0. I have stop and started the smbd service several times.
> >
> > I have found a few postings on the web about this, but no answers.
> >
> > Thanx for your help
> >
> >
> >
> > This email message may contain information that is confidential and
> > proprietary to Babcock & Brown or a third party.  If you are not the
> > intended recipient, please contact the sender and destroy the
> original and
> > any copies of the original message.  Babcock & Brown takes measures to
> > protect the content of its communications.  However, Babcock &
> Brown cannot
> > guarantee that email messages will not be intercepted by third
> parties or
> > that email messages will be free of errors or viruses.
> >
> >
>
>
> --
>
>
> Regards,
>
> David Highley		      Phone: (206) 669-0081
> Highley Recommended, Inc.	FAX: (253) 838-8509
> 2927 SW 339th Street	      Email: dhighley at highley-recommended.com
> Federal Way, WA 98023-7732	WEB: http://www.highley-recommended.com
>





More information about the samba-ntdom mailing list