[Samba] file locking failure

2013-07-31 Thread steve
4.0.7 DC, 4.0.7 fileserver, with openSUSE, w7 and xp clients. cifs-utils 6.1 on Linux. Hi I have set: kernel oplocks = yes on the fileserver If the xp client opens a file using e.g. Notepad, the opensuse client can edit it at the same time and vica versa. If I open the same file on each client

Re: [Samba] file locking on linux samba with mac osx and windows have no function?

2010-10-28 Thread Jeremy Allison
On Thu, Oct 21, 2010 at 09:10:20PM +0200, Joris Heinrich wrote: hallo list, I have the following problem: smb.conf [global] server string = file1.int.stayfriends.de unix extensions = No socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY dns proxy

[Samba] file locking on linux samba with mac osx and windows have no function?

2010-10-21 Thread Joris Heinrich
hallo list, I have the following problem: smb.conf [global] server string = file1.int.stayfriends.de unix extensions = No socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY dns proxy = No ldap ssl = no read only = No create mask =

Re: [Samba] samba file locking

2010-03-15 Thread Janez Kosmrlj
On Mon, Mar 15, 2010 at 6:52 AM, Janez Kosmrlj postnali...@googlemail.comwrote: Hi, I tried your configuration. Everything works, as long as i test with text files. But when i tried with the java application i just get a lot of the folowing errors: *mmap failed for CEN and END part of zip

Re: [Samba] samba file locking

2010-03-08 Thread Janez Kosmrlj
On Mon, Mar 1, 2010 at 4:03 PM, Janez Kosmrlj postnali...@googlemail.comwrote: On Mon, Feb 22, 2010 at 10:18 AM, Janez Kosmrlj postnali...@googlemail.com wrote: On Sun, Feb 21, 2010 at 8:46 PM, Janez Kosmrlj postnali...@googlemail.com wrote: On Fri, Feb 19, 2010 at 9:23 PM, Ernesto

Re: [Samba] samba file locking

2010-03-08 Thread Volker Lendecke
On Mon, Mar 08, 2010 at 01:42:16PM +0100, Janez Kosmrlj wrote: update. For now it looks like fakeoplocks=yes in smb.conf is the solution. Also the audit service on the client has to be turned off. We have to do some further testing, but this looks like it is it for now. NEVER use fake

Re: [Samba] samba file locking

2010-03-01 Thread Janez Kosmrlj
On Mon, Feb 22, 2010 at 10:18 AM, Janez Kosmrlj postnali...@googlemail.comwrote: On Sun, Feb 21, 2010 at 8:46 PM, Janez Kosmrlj postnali...@googlemail.com wrote: On Fri, Feb 19, 2010 at 9:23 PM, Ernesto Silva erniesi...@gmail.comwrote: Can you try to mount with -o directio? Not sure

Re: [Samba] samba file locking

2010-02-22 Thread Janez Kosmrlj
On Sun, Feb 21, 2010 at 8:46 PM, Janez Kosmrlj postnali...@googlemail.comwrote: On Fri, Feb 19, 2010 at 9:23 PM, Ernesto Silva erniesi...@gmail.comwrote: Can you try to mount with -o directio? Not sure this will help, but it might be worth a try. Volker Hi, there is also another

Re: [Samba] samba file locking

2010-02-19 Thread Volker Lendecke
On Fri, Feb 19, 2010 at 07:33:48AM +0100, Janez Kosmrlj wrote: We have a strange file locking problem and i hope someone can help. We use some CentOS 5 servers, which use samba 3.0.33, to share files of a java application to clients. Clients are mostly CentOS 5 (same version as the server),

Re: [Samba] samba file locking

2010-02-19 Thread Ernesto Silva
Can you try to mount with -o directio? Not sure this will help, but it might be worth a try. Volker Hi, there is also another parameter similar to directio, I don't know the difference but seems more radical, it's forcedirectio. I have been using it on linux clients which mounts a samba

[Samba] samba file locking

2010-02-18 Thread Janez Kosmrlj
Hi samba experts, We have a strange file locking problem and i hope someone can help. We use some CentOS 5 servers, which use samba 3.0.33, to share files of a java application to clients. Clients are mostly CentOS 5 (same version as the server), but there are a few legacy windows clients (the

[Samba] samba file locking

2009-10-05 Thread Janez Kosmrlj
Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But now we are trying to migrate to Linux clients and this is where the

Re: [Samba] samba file locking

2009-10-05 Thread Jeremy Allison
On Mon, Oct 05, 2009 at 11:43:52AM +0200, Janez Kosmrlj wrote: Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But

[Samba] samba file locking

2009-10-05 Thread Janez Kosmrlj
Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But now we are trying to migrate to Linux clients and this is where the

[Samba] samba file locking

2009-10-05 Thread Janez Kosmrlj
Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But now we are trying to migrate to Linux clients and this is where the

[Samba] samba file locking problem

2009-10-05 Thread Janez Kosmrlj
Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But now we are trying to migrate to Linux clients and this is where the

[Samba] samba file locking problem

2009-10-05 Thread Janez Kosmrlj
Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But now we are trying to migrate to Linux clients and this is where the

[Samba] samba file locking problem

2009-10-05 Thread Janez Kosmrlj
Hi, I encountered an interesting problem. We have a Java application on a samba server. The folder is then shared to the clients via a samba share. So far it works OK. Until now we had windows clients and everything worked OK. But now we are trying to migrate to Linux clients and this is where the

Re: [Samba] File Locking, Access - Inconsistencies

2009-08-12 Thread Ravi Channavajhala
On Wed, Aug 12, 2009 at 11:01 AM, Ravi Channavajhalaravi.channavajh...@dciera.com wrote: On Wed, Aug 12, 2009 at 9:53 AM, Jeremy Allisonj...@samba.org wrote: On Wed, Aug 12, 2009 at 08:51:51AM +0530, ravi channavajhala wrote: Hi Jeremy, Why would the file name be an issue here?  It is not

[Samba] File Locking, Access - Inconsistencies

2009-08-11 Thread ravi channavajhala
Lately I'm seeing bizarre problems with the SAMBA server I'm using in production. For no rhyme or reason the connections get dropped, the same set of users who previously were able to access the shares, now get permission denied. Users (not all but some) are having trouble opening the folders,

Re: [Samba] File Locking, Access - Inconsistencies

2009-08-11 Thread Jeremy Allison
On Tue, Aug 11, 2009 at 11:49:09PM +0530, ravi channavajhala wrote: Lately I'm seeing bizarre problems with the SAMBA server I'm using in production. For no rhyme or reason the connections get dropped, the same set of users who previously were able to access the shares, now get permission

Re: [Samba] File Locking, Access - Inconsistencies

2009-08-11 Thread Ravi Channavajhala
On Wed, Aug 12, 2009 at 9:53 AM, Jeremy Allisonj...@samba.org wrote: On Wed, Aug 12, 2009 at 08:51:51AM +0530, ravi channavajhala wrote: Hi Jeremy, Why would the file name be an issue here?  It is not just one file, several files are getting affected.  I followed your earlier discussion on

RE: [Samba] file locking options in smb.conf

2009-05-06 Thread Anoop P.A.
: Re: [Samba] file locking options in smb.conf On Tue, May 05, 2009 at 04:27:30AM -0700, Anoop P.A. wrote: Hi Volker, Thanks for the reply. I want basic file locking work as expected. ( i.e. I want to prevent files from getting corrupted while shared across multiple platforms). If some

Re: [Samba] file locking options in smb.conf

2009-05-06 Thread Volker Lendecke
On Tue, May 05, 2009 at 11:35:54PM -0700, Anoop P.A. wrote: Hi list, Any body implemented cross protocol file locking before? Any pointer will help me a lot Hi Volker, CIFS - CIFS locking is not working as expected. It failed for me in following scenario. 1. Opened a share using

AW: [Samba] file locking options in smb.conf

2009-05-06 Thread Daniel Müller
An: volker.lende...@sernet.de Cc: samba@lists.samba.org Betreff: RE: [Samba] file locking options in smb.conf Hi list, Any body implemented cross protocol file locking before? Any pointer will help me a lot Hi Volker, CIFS - CIFS locking is not working as expected. It failed for me in following scenario. 1

[Samba] file locking options in smb.conf

2009-05-05 Thread Anoop P.A.
Hi List, I have a file server which runs samba-3.0.28a. My aim is to share a logical volume ( with XFS filesystem) using SAMBA, NFS and FTP. Since it is a file server I’m very much concerned about file locking. After googling and reading a lot I had set file locking flags in smb.conf

Re: [Samba] file locking options in smb.conf

2009-05-05 Thread Volker Lendecke
On Tue, May 05, 2009 at 02:42:57AM -0700, Anoop P.A. wrote: Hi List, I have a file server which runs samba-3.0.28a. My aim is to share a logical volume ( with XFS filesystem) using SAMBA, NFS and FTP. Since it is a file server I’m very much concerned about file locking. After googling

RE: [Samba] file locking options in smb.conf

2009-05-05 Thread Anoop P.A.
corrupted while sharing across multiple platform / multiple protocols Thanks Anoop -Original Message- From: Volker Lendecke [mailto:volker.lende...@sernet.de] Sent: Tuesday, May 05, 2009 4:06 PM To: Anoop P.A. Cc: samba@lists.samba.org Subject: Re: [Samba] file locking options

Re: [Samba] file locking options in smb.conf

2009-05-05 Thread Volker Lendecke
On Tue, May 05, 2009 at 04:27:30AM -0700, Anoop P.A. wrote: Hi Volker, Thanks for the reply. I want basic file locking work as expected. ( i.e. I want to prevent files from getting corrupted while shared across multiple platforms). If some file is opened writing in one client, other

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-04-21 Thread Kathy
I wanted to send a final post about this issue. I apologise for not responding until 2 months later. For those interested, we ended up just writing our logs to a Samba share that was outside of a Clearcase share and we had no further issues with files being locked. So that says that

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-10 Thread Kathy
I wanted to post again with the results of using Samba 3.2.8. Looks like this did not solve our locking problem. We are still getting permission denied errors when we try to do a mv of a log file inside a Clearcase view via a Samba share to a different location. Again, this is inside a Cygwin

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-10 Thread Volker Lendecke
On Tue, Feb 10, 2009 at 02:24:10PM -0800, Kathy wrote: I wanted to post again with the results of using Samba 3.2.8. Looks like this did not solve our locking problem. We are still getting permission denied errors when we try to do a mv of a log file inside a Clearcase view via a Samba share

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-10 Thread Jeremy Allison
On Tue, Feb 10, 2009 at 02:24:10PM -0800, Kathy wrote: I wanted to post again with the results of using Samba 3.2.8. Looks like this did not solve our locking problem. We are still getting permission denied errors when we try to do a mv of a log file inside a Clearcase view via a Samba share

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-07 Thread Kathy
Thanks, Jeremy and Brian for your responses. First Jeremy -- I think I will first pursue with Brian a solution that uses a version of Samba that is at least more in line with what IBM has tested with Clearcase, but if it really does look like the issue is with Samba, I have no problem at least

[Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-06 Thread Kathy
We are having some problems in our company's test group that did not exist when our Clearcase 2003.06 server existed on a Solaris 8 machine. Now we are running on RHEL 5.2 with Clearcase 7.0.1.3 with Samba 3.0.28 (despite the fact that IBM has only blessed up to 3.0.24) and running into some file

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-06 Thread Rob Shinn
On Fri, Feb 6, 2009 at 1:23 PM, Kathy banshee...@gmail.com wrote: # first statement is old and may not be obsolete but we still keep it just in case oplocks = no kernel oplocks = no level2 oplocks = no If you have 'oplocks = no', then it doesn't matter what 'kernel oplocks' or 'level2

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-06 Thread Kathy
Thanks for the reply Rob. That was my assumption that oplocks=no overrides everything (but put them all in there just in case). The Samba shares are all related to Clearcase, which is why we have oplocks definitions under global instead of individual shares. (Although I suppose the home

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-06 Thread Kathy
Based on what Rob said (and what I'm reading about oplocks in the Using Samba guide), I decided to put the oplocks = no into each individual share. I won't know until Monday until the test group tries some test runs if it makes any difference or not. I was assuming if in global it would be

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-06 Thread Jeremy Allison
On Fri, Feb 06, 2009 at 10:23:57AM -0800, Kathy wrote: We are having some problems in our company's test group that did not exist when our Clearcase 2003.06 server existed on a Solaris 8 machine. Now we are running on RHEL 5.2 with Clearcase 7.0.1.3 with Samba 3.0.28 (despite the fact that

Re: [Samba] File locking problem involving Samba, Clearcase, and Cygwin

2009-02-06 Thread Brian Cowan
Kathy wrote: [views] comment = Flint views path = /view read list = @cozcmusr, aramac write list = @cozcmusr read only = No Kathy, I work in ClearCase support, and this construct is not supported by IBM. It's not a tested configuration. There is a

Re: [Samba] Ubuntu 8.04 breaks samba file locking

2008-08-13 Thread Jeremy Allison
On Tue, Aug 12, 2008 at 10:21:56PM -0400, douglas germann wrote: Jeremy-- Thanks! Had not thought of using smbstatus. What is happening is that the Ubuntu clients are establishing a lock of deny_none, and the WinXP client is establishing deny_write. I have tried changing oplocks and

Re: [Samba] Ubuntu 8.04 breaks samba file locking

2008-08-12 Thread Jeremy Allison
On Tue, Aug 05, 2008 at 12:50:42AM +, Doug Germann wrote: Just upgraded Saturday from Ubuntu 7.10 to 8.04.01. File locking in Samba is now broken, meaning two different users can have the same file open at the same time and edit it. Server is RedHat 9.0 running Samba

[Samba] Ubuntu 8.04 breaks samba file locking

2008-08-04 Thread Doug Germann
Just upgraded Saturday from Ubuntu 7.10 to 8.04.01. File locking in Samba is now broken, meaning two different users can have the same file open at the same time and edit it. Server is RedHat 9.0 running Samba 2.2.7a-security-rollup-fix. This has been working well for us for several years. Have

Re: [Samba] File locking in a cluster

2008-02-05 Thread Volker Lendecke
On Tue, Feb 05, 2008 at 09:46:53AM -, JEFFERY, Stuart wrote: I have 2 Sun T1000's running Solaris 10 and Sun Cluster 3.2. They are each connected to a fibre attached SATA RAID array which they use as data storage area for PC clients. Both servers are running Samba 3.0.25c. The problem I

[Samba] File locking in a cluster

2008-02-05 Thread JEFFERY, Stuart
Hi, I have 2 Sun T1000's running Solaris 10 and Sun Cluster 3.2. They are each connected to a fibre attached SATA RAID array which they use as data storage area for PC clients. Both servers are running Samba 3.0.25c. The problem I have is that when a PC client access a file via Samba running on

Re: [Samba] File locking in a cluster

2008-02-05 Thread Quinn Fissler
I think that the CTDB is not relevant to Stuart's problem as described. This is more relevant: http://www.oreilly.com/catalog/samba/chapter/book/ch05_05.html There will be other pages too. echo | testparm -v | grep -i lock On 05/02/2008, Volker Lendecke [EMAIL PROTECTED] wrote: On Tue, Feb

Re: [Samba] File locking in a cluster

2008-02-05 Thread Volker Lendecke
On Tue, Feb 05, 2008 at 12:47:28PM +, Quinn Fissler wrote: I think that the CTDB is not relevant to Stuart's problem as described. This is more relevant: http://www.oreilly.com/catalog/samba/chapter/book/ch05_05.html There will be other pages too. echo | testparm -v | grep -i lock

Re: [Samba] File locking in a cluster

2008-02-05 Thread Quinn Fissler
:-) Yeah - there must be On 05/02/2008, Volker Lendecke [EMAIL PROTECTED] wrote: On Tue, Feb 05, 2008 at 12:47:28PM +, Quinn Fissler wrote: I think that the CTDB is not relevant to Stuart's problem as described. This is more relevant:

Re: [Samba] File locking issue

2007-08-21 Thread Bjoern Tore Sund
Yan Seiner wrote: Hi everyone: I posted this a couple of weeks ago and got no response. My client is still stuck with this issue and I am quickly running out of ideas to try. Does anyone have any ideas/suggestions? This is a long-term customer and so far their server has provided

[Samba] File locking issue

2007-08-20 Thread Yan Seiner
Hi everyone: I posted this a couple of weeks ago and got no response. My client is still stuck with this issue and I am quickly running out of ideas to try. Does anyone have any ideas/suggestions? This is a long-term customer and so far their server has provided outstanding service - until

[Samba] File locking issue

2007-08-06 Thread Yan Seiner
I have a client with an older server that is running into a weird file locking problem. The server is running FC2, samba 3.0.7 and kernel 2.6.10. They have recently installed AutoDesk Revit, which is apparently some sort of collaborative design software. Revit keeps a central repository and

Re[2]: [Samba] File Locking

2007-02-26 Thread Robin Edgar - Tripany
Hi, I'm experiencing similar problems and described them in the list here http://lists.samba.org/archive/samba/2007-January/128794.html Ute has also had similar problems. We haven't been able to solve the problem using the oplocks options and are stuck. Oddly enough the swap file is opened rw

Re: [Samba] File Locking

2007-02-26 Thread Robin Edgar - Tripany
profile acls = Yes in the [globals] section caused my problem. Removing it solved the problem. Thursday, February 22, 2007, 3:31:16 PM, schreef jij: Hi- I'm running Samba on OpenSuse10.2 and have shared some drives with Windows clients. The clients are accessing a bunch of MS Word files

[Samba] File Locking

2007-02-22 Thread Alan Cheers
Hi- I'm running Samba on OpenSuse10.2 and have shared some drives with Windows clients. The clients are accessing a bunch of MS Word files on the server and we have experienced a lot of weird file locking problems. Sometimes MS Word will open the file as Read-Only which is creating a bit of a

Re: [Samba] File Locking

2007-02-22 Thread Rashkae
On Thu, 2007-02-22 at 09:31 -0500, Alan Cheers wrote: Hi- I'm running Samba on OpenSuse10.2 and have shared some drives with Windows clients. The clients are accessing a bunch of MS Word files on the server and we have experienced a lot of weird file locking problems. Sometimes MS Word

[Samba] File locking: is there some kind of timeout I can alter?

2007-02-07 Thread Michael Rignaz
Hi, I have a problem, that occurs once a week: when my boss opens some files with read/write access via vpn over a crappy internet connection and his connection gets terminated, some files are still locked read-only after several hours/half a day or more. Only restarting the appropriate smbd

Re: [Samba] File locking problem between Linux and WinXP

2007-01-03 Thread Asier Baranguán
El Domingo, 24 de Diciembre de 2006 00:24, Chris Barnabo escribió: Beta has no problem reading the files ... but as soon as it has touched a file in any way, that file is getting locked so that it can no longer be written from Alpha OR Beta. E.g. if I make a change to index.html, look at it

[Samba] File locking problem between Linux and WinXP

2006-12-30 Thread Chris Barnabo
I'm encountering a nasty file locking problem on my development system. The base system is WinXP SP2 (call it Alpha), on which there is a shared directory (D:\Websites) on NTFS. Running in a M$ Virtual Machine session on Alpha is an Ubuntu Linux (6.06) system, call it Beta. Most of the

Re: [Samba] file locking question

2006-09-24 Thread Michael Gasch
hi, i think this is one reason why kernel oplocks has been integrated but i´m not sure if this always works 100%. greez Greg Lehmann wrote: Hi all, If I have a linux server running samba for filesharing and I use NFS to make these shares available on another linux server that also

Re: [Samba] file locking question

2006-09-19 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/19/2006 12:49 AM, Greg Lehmann escreveu: Hi all, If I have a linux server running samba for filesharing and I use NFS to make these shares available on another linux server that also runs samba to share the same shares will the locking

[Samba] file locking question

2006-09-18 Thread Greg Lehmann
Hi all, If I have a linux server running samba for filesharing and I use NFS to make these shares available on another linux server that also runs samba to share the same shares will the locking still work properly? I can use this to get around an issue with multiple authentication

[Samba] file locking

2006-06-09 Thread Maris
Hi. I have a problem saving 1 file by 2 users via Samba from Linux pc to Win server. File after 1user opening doesn't lock. The situtation is: I have Linux /WIN network. File server ir WIN. When somebody edits file xx.xls with OpenOffice via Samba, and another user edits the same file after 5

[Samba] File locking problem

2006-04-24 Thread Iain
I've a situation where file locking does not seem to functioning. I have the following entries in my smb.conf file: *** /etc/samba/smb.conf *** linux # testparm -v | grep lock Load smb config files from /etc/samba/smb.conf snip Warning: Service printers defines a print command, but print

[Samba] File Locking and Deleting Problem

2006-04-15 Thread Michael Stearne
I have a new share setup that I would like to do some pretty simple things with. I would like to have multiple people connect to it. Everyone can read and write to it but the only creator of a given file can delete that file. Also, when a given file (say Word, Quark or Photoshop docs) is open

[Samba] file locking

2005-09-23 Thread Pramathesh Ambasta
I am sure this is a subject which has been discussed a lot already. I have been looking for pointers but have failed. So please bear with me and help. A linux box runs Samba and is connected to a win box. One word or excel file is opened simultaneoulsy on both (on the linux system in OpenOffice

Re: [Samba] file locking

2005-09-23 Thread Jeremy Allison
On Sat, Sep 24, 2005 at 04:33:30AM +0530, Pramathesh Ambasta wrote: I am sure this is a subject which has been discussed a lot already. I have been looking for pointers but have failed. So please bear with me and help. A linux box runs Samba and is connected to a win box. One word or excel

[Samba] File locking problems

2005-05-19 Thread malcolm
I have been writing some code to perform portable file locking between Linux and Windows. On Windows I use UnlockFileEx() and Linux fcntl(). To get over the incompatibilites between these calls, I use the calls to lock the first two bytes of the file with a read lock. The first byte is regarded

Re: [Samba] File locking problems

2005-05-19 Thread Jeremy Allison
On Thu, May 19, 2005 at 02:13:33PM +0200, malcolm wrote: I have been writing some code to perform portable file locking between Linux and Windows. On Windows I use UnlockFileEx() and Linux fcntl(). To get over the incompatibilites between these calls, I use the calls to lock the first two

[Samba] file locking in samba

2005-04-26 Thread Felipe Tocchetto
Hi all I am new on the list and i subscribe it do try to solve a problem that i am having with samba and file locking. Last week we changed from DreamWaver to NVU, the DreamWaver implements file locking but the NVU dont. What started to happen is that two users can edit the same file, the

[Samba] File Locking using smbmount

2005-03-31 Thread Rishi
Hi I have a Samba Server on RH9 and when I map the shares on Windows client computers, the files are locked so the users do not accidentally overwrite other people's files on the network. (This is the good news) However, the Linux client computers use smbmount to map the shares within their

Re: [Samba] File locking problem

2005-03-25 Thread Ulrik Guenther
Hi everyone, like Jeremy wanted, I got a lvl. 10 log from two clients opening the same file. The log is attached to this eMail (I have just bzipped it to reduce its size). Thanks in advance for looking over it :) Ulrik Guenther -- To unsubscribe from this list go to the following URL and read

[Samba] File locking problem

2005-03-23 Thread Ulrik Guenther
Hello everyone, I have a 50-client Samba installation here (version of Samba is 3.0.12). The problem is, that files are not locked correctly. The scenario is the following: 1. User A opens a word document file and edits it 2. User B tries to open the same file, too 3. Instead of getting a

Re: [Samba] File locking problem

2005-03-23 Thread Jeremy Allison
On Wed, Mar 23, 2005 at 08:38:59PM +0100, Ulrik Guenther wrote: Hello everyone, I have a 50-client Samba installation here (version of Samba is 3.0.12). The problem is, that files are not locked correctly. The scenario is the following: 1. User A opens a word document file and edits it

[Samba] file locking

2005-03-04 Thread sharif islam
Is file locking dependent on the editor or we can control it via the oplocks option? here's the scenario: I usually use vi from the console. However, some of my colleagues might work on the same file from the windows machine using notepad, Jedit, dreamweaver etc. What is the best way to lock

Re: [Samba] file locking

2005-03-04 Thread Jeremy Allison
On Fri, Mar 04, 2005 at 03:15:42PM -0600, sharif islam wrote: Is file locking dependent on the editor or we can control it via the oplocks option? here's the scenario: I usually use vi from the console. However, some of my colleagues might work on the same file from the windows machine using

RE: [Samba] file locking

2005-03-04 Thread Mitch (WebCob)
, dreamweaver etc? m/ -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Jeremy Allison Sent: March 4, 2005 1:20 PM To: sharif islam Cc: samba mailing list Subject: Re: [Samba] file locking On Fri, Mar 04, 2005 at 03:15:42PM -0600, sharif islam wrote

Re: [Samba] file locking

2005-03-04 Thread Jeremy Allison
On Fri, Mar 04, 2005 at 01:23:31PM -0800, Mitch (WebCob) wrote: What about editors like Joe - when I run it on two terminals to access the same file, the second (and subsequent attempts) show read only... Admittedly that's probably FILE locking - not more granular like region based etc - but

Re: [Samba] file locking

2005-03-04 Thread sharif islam
On Fri, 4 Mar 2005 13:23:31 -0800, Mitch (WebCob) [EMAIL PROTECTED] wrote: What about editors like Joe - when I run it on two terminals to access the same file, the second (and subsequent attempts) show read only... Admittedly that's probably FILE locking - not more granular like region

RE: [Samba] file locking

2005-03-04 Thread Mitch (WebCob)
I think this is editor specific. I get the same warning in vi if I open the same file in vi. But say if I open one in vi then in gedit, the latter doesn't warn me. But If I change something in gedit and go back to vi, vi warns me that the file has been changed since reading! [Mitch says:]

[Samba] File locking issues with Peachtree

2004-12-17 Thread Donald Goodwin
I am having problems with storing Peachtree Complete Accounting on a Samba share. I know people have reported issues like this before but I have yet to see a solution. Is there anyone here who has successfully set this up (without getting the lock errors)? Any help would be greatly

[Samba] Samba File locking details

2004-11-27 Thread Billy Newport
Information on this seems sketchy. I have samba 2.2 on RHEL 2.1. I have two clients (written in Java using a 1.4.2 JDK). The clients try to lock the same file with an exclusive lock. Both clients always succeed, i.e. locking doesn't seem to work. I have oplocks turned off on the share and

[Samba] file locking/sharing

2004-10-30 Thread sam wun
Hi, I m using Samba 3.0.4. The problem is the if user1 created his file in the Public directory, the new file has the user name of user1 with permission 770 on the new file. User2 can read and write to the file as well, but it doesn't change the ownership of the new file. After the new file has

[Samba] file locking and sharing...

2004-10-30 Thread sam wun
Hi, I don't know how to enable file sharing and locking capability in Samba 3.0.7. I m using FreeBSD 5.3 RC. I will be very appreciate for your help. Here is my conf file: [global] workgroup = AUTHTEC netbios name = SAMBA30 server string = Samba Server password server

[Samba] File Locking

2004-10-26 Thread Nicolas Bottarini
Hi In my enterprise we have our php web projects in a Linux server. We are using Samba shared folders to access the source code. The problem that I'm having is that I need a mechanism to control de access of the files so that 2 developers working on the same project can't open the

RE: [Samba] File Locking

2004-10-26 Thread Nicolas Bottarini
that two people are actually working on the same problem, at the same time, in the same file. -=Chris -Original Message- From: Nicolas Bottarini [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 9:19 AM To: [EMAIL PROTECTED] Subject: [Samba] File Locking Hi In my

[Samba] File locking with smbd

2004-10-22 Thread Ron Cococcia
Hello, I have a problem and haven't been able to figure it out yet. I was running a test of an upload mechanism the product my company makes uses. The idea is that users can upload files to a share, and we process/archive those files when they have been added. It would try to detect if a

[Samba] File locking in NFS on Solaris

2004-09-16 Thread Andreas Haupt
Hello, System: Solaris 8/9 Samba: 3.02 and 3.06 We have problems with accessing files (from Windows XP) on a samba server that are mounted over nfs (on the server). Some users have symlinks in their home directories to nfs resources. When they try to copy file located in nfs the client simply

Re: [Samba] File locking in NFS on Solaris

2004-09-16 Thread Jeremy Allison
On Thu, Sep 16, 2004 at 03:12:55PM +0200, Andreas Haupt wrote: [2004/09/16 10:04:15, 1] smbd/service.c:make_connection_snum(705) diapp2 (134.30.6.13) connect to service dbi initially as user dbi (uid=1250, gid=11211) (pid 29469) [2004/09/16 10:04:47, 0]

Re: [Samba] File locking in NFS on Solaris

2004-09-16 Thread William Jojo
H. I've been following an smbpasswd locking problem over NFS (on AIX 5.2 ML04 - Samba 3.0.7) that appears to be F_SETLKW64 related as well when I'm trying to join a machine to a domain or when a workstations tries to actively change it's trust after 7 days. It's intermittent and doesn't

Re: [Samba] File locking in NFS on Solaris

2004-09-16 Thread Jeremy Allison
On Thu, Sep 16, 2004 at 02:15:38PM -0400, William Jojo wrote: H. I've been following an smbpasswd locking problem over NFS (on AIX 5.2 ML04 - Samba 3.0.7) that appears to be F_SETLKW64 related as well when I'm trying to join a machine to a domain or when a workstations tries to

[Samba] File locking from Mac OS X 10.3 (Panther)

2004-06-22 Thread P. K. Chan, Esq.
Dear list, My system administrator at office runs a SMB server for us all to share files at smb://server/share/ , on which we share mainly MS Office/OpenOffice.org documents. I have recently switched to iBook G4 with Panther. After the switching, I can connect to the SMB server using

Re: [Samba] File Locking problem

2004-04-10 Thread Jeremy Allison
On Thu, Apr 08, 2004 at 01:56:31AM +0800, Wan Yeok Seng wrote: But if I use openoffice (in a fedora core workstation) to access the file in the share first, when I type smbstatus, I am getting a deny none (readwrite) which is not the intended way. If I open the file from other workstation

[Samba] File Locking problem

2004-04-07 Thread Wan Yeok Seng
Hi there, I am facing some file locking problem with samba. Below are the environment : OS : Fedora Core 1 Samba version : 3.0.0-15 I have used security = share, oplocks =no, level2 oplocks=no, locking = yes, strict locking = yes. The detail of the smb.conf can be provided. The situation is

Re: [Samba] Samba File Locking Problem

2004-03-27 Thread George Lancina
This may be what you need in your smb.conf: oplocks = no level 2 oplocks = no Look them up via 'man smb.conf'. I believe you can set it either globally or per share. Hope that helps :-) Cameron B. Prince said: Hi, I have a situation in the office where I temporarily need to provide

[Samba] Samba File Locking Problem

2004-03-25 Thread Cameron B. Prince
Hi, I have a situation in the office where I temporarily need to provide additional clients access to a share on a Windows 2000 Professional box. 2000 Pro seems to only allow 5 clients to connect to a share and there is no faclity to allow more as best I can tell. Upgrading isn't really an option

Re: [Samba] Samba File Locking Problem

2004-03-25 Thread Radio Gong 2000 GmbH Co. KG [Technik]
I don't know what kind of programm you're running, but I had nearly the problem. I solved it by turning of the oplocks for this share. Try in the share: [C] comment = C On Doveserver path = /mnt/samba public = yes writable = yes create mask = 0775

RE: [Samba] Samba File Locking Problem

2004-03-25 Thread Cameron B. Prince
Hi Sascha, You nailed it... My problem is solved. I don't understand why that would be desired behavior, but regardless, it's fixed now. Thank you very much, Cameron I don't know what kind of programm you're running, but I had nearly the problem. I solved it by turning of the oplocks for

[Samba] File locking over Samba

2003-12-30 Thread Rob Taft
I'm using samba, and I have multiple OS's accessing files, including a program on the server itself. When the file is being sent over samba, I want it to be locked so the server's program can't read it. Once transfer is complete, it releases the lock and the server can read it. Likewise, I

Re: [Samba] File Locking

2003-11-08 Thread John H Terpstra
On Fri, 7 Nov 2003, Robert McIntosh wrote: Hi, I'm running smbd 2.2.8. I'm a little green when it comes to file locking with samba. Are you from Mars by any chance? Isn't that where green people come from? Oh, I forgot, you could be Irish also. I have two users that access a single data

Re: [Samba] File Locking

2003-11-08 Thread rruegner
scully the truth is out there lol - Original Message - From: John H Terpstra [EMAIL PROTECTED] To: Robert McIntosh [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, November 08, 2003 8:18 AM Subject: Re: [Samba] File Locking On Fri, 7 Nov 2003, Robert McIntosh wrote: Hi

  1   2   >