[Samba] Samba Shares access problems

Brice Capelle brice.capelle at gmail.com
Wed Jan 26 07:08:30 MST 2011


Hi all,

This is my first mail to the mailing list.

I'm currently facing a problem on our samba installation, since the
package upgrade from last week (friday) the samba configuration has been
replaced with a news one. I had to put a backup in place.

But now there areaccess problem, on some clients but not all. Linux is
not impacted. Only Windows 7 clients are impacted, but only clients
which knew the Samba server before the configuration change.

Let me explain, there are computers which kenw the server before the
problem occurs and one which just received at the office that know the
samba server only after the problem.

Computers which knew the Samba server:
Each time we try to open an MS Office 2010 file, this one is already
accessed or read only. It takes a long time to tryu to open it.

New computer:
This one can access the file, edit them and save them. But it takes a
long time, sometime 1 minute to open it or save it.

I don't understand why the different clients have different symptoms,
one can access files others can't. I suspect an SMB cache on clients, is
that true ? If it exists, is it possible to purge it ?

I've played with the oplocks with no luck. I tried to create another SMB
share it worked well on the new computer but it takes a long time to
open new documents. The samba server is accessible on a Bonded network
interface.

What am I missing ? I don't understand what goes wrong ... seems the
oplong are for something.

Thank you for your time.

Samba Configuration file:

[global]
workgroup = WORKGROUP
netbios name = NAS
server string = NAS
security = share
interfaces = bond0:0
browse list = yes
browseable = yes
guest ok = yes
guest account = nobody
browse list = yes
public = yes
wins support = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192
SO_SNDBUF=8192
load printers = yes
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
printing = cups

[NAS]
comment = NAS
path = /nas/data/samba
force user = nobody
force group = nogroup
guest ok = Yes
writable = Yes
guest ok = yes



Informations:
OS: Debian Squeeze 6.0
Samba: 3.5.6
Clients: Ubuntu Linux, Windows 7
Software: MS Office 2010


More information about the samba mailing list