similar to: Turning oplocks off, how to do?

Displaying 20 results from an estimated 20000 matches similar to: "Turning oplocks off, how to do?"

1998 Dec 03
0
How to Turn of oplocks in version 2?
Greetings All, I am trying to turn off oplocks and can not seem to figure out which parameters to use. I have tried setting oplocks = False in both the global section and in my share section. I have also tried setting veto oplock files = /*.txt/ in my share section. Each time I try this and restart the smbd program I get the same behaviour on the PC side. The file is cached on the PC side (I
1998 Dec 15
4
Why does oplocks = False not seem to stop file cacheing?
Greetings All, I have tried everything I can think of and can not seem to stop the PC from cacheing a local copy of a file retrieved over a samba share. I have tried oplocks = false and also setting veto oplocks = /*.txt/ Whatever I try the PC still shows me the old version of a file after I modify it on the unix side. If anyone can see anything wrong with my smb.conf file please let me know.
1998 Dec 15
0
Why does oplocks = False not seem to stop file cacheing? (More Info)
All, Here is the output of smbstatus after I have opened up the file on the PC: /usr/local/samba/bin [184] ./smbstatus Samba version 1.9.18p10 Service uid gid pid machine ---------------------------------------------- dave dave staff 972 syscon2 (137.51.150.63) Tue Dec 15 15:43:27 1998 No locked files Share mode memory usage (bytes): 1048464(99%)
1998 Nov 17
2
problems with oplocks = false in 2.0 beta version
Hi Everybody, I seem to still be having problems with the caching of files on the PC. I have tried to set the oplocks = false variable in the smb.conf file but that has not seemed to help. Here is what I do to see the problem Open a file on the PC, the close it. Go to a unix machine and modify the file. Go back to the PC and re-open the file. I will get the old copy of the file for a few
1999 Jan 11
0
Problem with files being cached
Greetings All, I seem to be having a problem with files being cached, and I am 99% certain that it is not oplock related. I have set up my smb.conf file to have oplocks turned off and I think it is set up correctly. I believe this is correct because I then took that file and changed it to turn oplocks on and I did get different behaviour. With oplocks off an smbstat never shows any files being
1998 Nov 14
2
no updates seen on PC after unix changed (v2.0 alpha)
Hi, I just installed Version 2.0.0-prealpha on a Solaris 2.5.1 machine. We are exporting one filesystem to the PC's. I can connect from my Win95 PC without a problem and I see all the files on the shared drive. If I bring up Windows explore and double click on a text file I can see the file without a problem. I then close the file and go to the unix box and change the text file. If I then
2006 Apr 19
0
Samba turning
I have a two networks (across the country from each other) that are connected via ipsec through a Cicso pix. There is samba running on a Linux machine in the main office (call it office A) and users at the other office (B) need to get to it. After about three levels down, the response time back from the server is very slow (as it appears to be caching the directory listing). After as much as
2005 Nov 10
1
What do I do now???
11/09/05 I am/have been trying to get Samba working on my network for the past 5/6 weeks. All I want to do is connect two pc's so that I can access the necessary files between the two systems. First of all I know the two systems can talk to each other as I setup the to lan cards using WXP pro not using SAMBA. Since I can copy file between both systems I know that the connection is good and it
2014 Dec 31
1
Fwd: samba & Oracle ACFS Issues
Hi Volker Finally I loaded the following configuration in our test environment [global] deadtime = 60 keepalive = 10 [dossiers] locking = Yes ; If yes, turns on byte-range locks. strict locking = No ; If yes, denies access to an entire file if a byte-range lock exists in it. ; posix locking = Yes posix locking = No
1997 Oct 15
8
OPLOCKS
Robert Dal Santo wrote: > Is there any work underway to get Samba to support OPLOCKS? I know > they are difficult to implement but I'm faced with a decisions now to buy an > NT box (Ugh!) or do a lot of messing around to get this application > to perform decently. The application in questions takes around 5 > hours to do a taks without OPLOCKS and around an hour to do the
2006 Jul 06
2
SOLVED - Oplocks not taking place at all unless fake oplocks = yes
The kernel on my server appears to be refusing oplocks altogether. Setting 'kernel oplocks = no' resolved the issue. Is there any caveats I should be aware of? - Chris Wagner -----Original Message----- From: samba-bounces+chriswagner=amyskitchen.net@lists.samba.org [mailto:samba-bounces+chriswagner=amyskitchen.net@lists.samba.org]On Behalf Of Chris Wagner Sent: Wednesday, July 05, 2006
2006 Jul 05
0
Oplocks not taking place at all unless fake oplocks = yes - Update
I've modified the contention limit in attempt to troubleshoot this, thinking that perhaps the client may be requesting multiple oplocks for whatever reason. The client is still not getting an oplock without specifying 'fake oplocks = yes'. I'm open to any ideas for troubleshooting. I've also checked to see if oplocks are explicitly disabled on the client, and they are not.
2002 Sep 06
0
preexec close + Win2K
I have Samba 2.2.2 on Solaris 8 acting as a PDC. I have written a script that checks to see if a user is already logged in on the PDC and if so, sends the user a message (via the SMB message stuff) telling them they need to log off. I run this script using "preexec close" under the netlogon share. So, the user authenticates against the PDC, but then gets a desktop that is mostly
2003 Apr 05
0
Samba doesn't free network resource with 2000 clients!
Hi, Active session (see with smbstatus) never die in my Server! I tried to use deadtime and keepalive unsuccessfully. I use 2.2.7a in Mandrake 8.2. with openldap 2.0.21 Thanks in advance. Fr?d?ric BERNOUD My smb.conf : [global] root postexec = kill -9 %d workgroup = INTRANET netbios name = PDC-SRV server string = Samba-Ldap PDC Server %v force create mode = 0770 force directory
2003 Apr 07
0
I must restart samba every day :(
Hi, My Samba server's doesn't free network resource with 2000 clients. Active session (see with smbstatus) never die in my Server! I tried to use deadtime and keepalive unsuccessfully. I use 2.2.7a in Mandrake 8.2. with openldap 2.0.21 Thanks in advance. Fr?d?ric BERNOUD My smb.conf : [global] root postexec = kill -9 %d workgroup = INTRANET netbios name = PDC-SRV
2004 Mar 23
4
netlogon problems
Hi @ all, I have two samba-servers running perfectly! Now I configured a third machine which provides some backups. Since I brought it up in the network the windows client won't execute the netlogon-scripts... When I turn off samba-services on the backup-machine it works again. Did I miss something??? Maybe you can open my eyes... Best regards Sascha Here my conf-files: PDC
2023 Jan 24
1
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
24.01.2023 20:09, Jeremy Allison via samba wrote: > On Tue, Jan 24, 2023 at 12:38:29PM +0300, Michael Tokarev via samba wrote: >> >> Here we've two files open, with kernel oplocks = yes (hence it is LEASE(), - >> before I enabled kernel oplocks, it was LEASE(RH) or LEASE(RWH)). > > Kernel oplocks do not support SMB2+ LEASES. So you're > just seeing old
1999 Dec 13
0
machine not accessible
I thought I had this configured correctly, but it stopped working when I rebooted the other day. I looked through the archives and tried all the stuff that looked relevent, but to no avail. I have a redhat 6.0 server running samba-2.0.3, and a bunch of windows98 clients. I'm trying to serve a shared directory with basicly /tmp permissions and my printers. my server, Biz, shows up in the
2023 Jan 24
1
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
On Wed, Jan 25, 2023 at 12:33:57AM +0300, Michael Tokarev wrote: >>@Michael: move the kernel oplocks setting to the global section, then things may start to work as expected. > >With kernel oplocks = yes in [global] but without mentioning >smb2 leases, this thing behaves in a way similar to when setting >smb2 leases to no (also globally, as it is a global parameter), -- >I see
2004 Jun 04
0
slow setup time
I'm seeing some very slow setup times. Here's what I did. I started ethereal while things were running fine and then I waited until my windows box didn't show up in findsmb (I have keepalive set to "yes", so I don't see why it times out at all). I then went into "My computer" which was very slow. When I look in ethereal, I see some interesting nubmers in