File being modified---win2k and solaris8

Kohei Yoshida kyoshida at mesco.com
Tue Dec 18 14:53:03 GMT 2001


On Tue, 2001-12-18 at 16:53, David Moruzzi wrote:
> I have been working with Samba 2.2.0 on Solaris 8 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---usually the same person opening it.
> 
> I have tried turning of oplocks and kernel locks in the Global section of
> the smb.conf:
> 
> [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---does solaris need to be set a
> certain. Are these bugs of 2.2.0. I have stopped and started the smbd
> service several times, but the new settings do not seem to take effect---I
> have done this using SWAT and /etc/init.d/samba.server is there another way
> to get samba to recognize changes in smb.conf?
> 
> 
> I have found a few postings on the web about this, but no answers.
> 
> Thanks for the help.

Try Samba 2.2.2.  I remember I had a similar problem with Samba 2.2.0
awhile back.  Upgrading to 2.2.1 seems to have solved it, and currently
I don't see this problem happen with 2.2.2.

Kohei





More information about the samba mailing list