Georg Weickelt
2010-Nov-01 10:01 UTC
[Samba] oplocks failed if user is not the owner of the file?
I have some identical windows 7 clients. All connected to Samba 3.5.4-1.1-2382-SUSE-SL11.0. If I'm the windows-owner of the file, swat shows me under "oplock" "exclusive+batch". Other users get: "none". What is the reason for this? ___________________________________________________________ Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02
Georg Weickelt
2010-Dec-01 09:25 UTC
[Samba] oplocks failed if user is not the owner of the file?
Maybe, my last question was to short, but I would like to clear this: Some users are faster than other users, I think because of caching the files on the client. I have some identical windows 7 clients. All connected to Samba 3.5.6-4.1-2450-SUSE-SL11.2-x86_64 Samba is acting as a domain-master. This is a part of smb.conf: [global] workgroup = Firma map to guest = Bad User passdb backend = tdbsam:/etc/samba/passdb.tdb time server = Yes socket options = TCP_NODELAY IPTOS_LOWDELAY printcap name = cups add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u logon script = netlogon.cmd logon path = \\%L\profiles\.msprofile logon drive = h: logon home = \\%L\%U\.9xprofile domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes ldap ssl = no cups options = raw [public] comment = Datenverzeichnis path = /daten/public read only = No create mask = 0770 directory mask = 0770 If they the owner of the files, smbstatus shows me: Pid Uid DenyMode Access R/W Oplock SharePath Name Time 14955 1000 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH /daten/public CARD80/DHD-ORT2/ProData/DOM00105.MDX Wed Dec 1 10:09:02 2010 If the don't own the file: Pid Uid DenyMode Access R/W Oplock SharePath Name Time 5582 1002 DENY_NONE 0x2019f RDWR NONE /daten/public CARD80/DHD-ORT2/ProData/DOM00105.MDX Wed Dec 1 10:12:06 2010 It means on my opinion, for file-owners the file get cached- and for others not. What is the reason for this? And how can I change this? The path /daten/public is located on a ext3 filesystem, mounted with acl,user_xattr Thanks in advance Georg Weickelt ___________________________________________________________ WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit gratis Notebook-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2