Guillaume Laurès
2005-Aug-29 11:04 UTC
[Samba] Locking problems on a Windows server with samba OSX clients
Hello, I have a small amount of Mac OS X 10.3 workstations networked on a Windows 2000 server. The samba version on the Macs is 3.0.10. For each file stored on the Windows server, the Macs create a file beginning with "._" which contains some resources about the file. My problem is that, just by browsing onto directories, the Macs seem to be locking all those "._" files (and not the regular file unless we open them), and this prevents moving the regular files, as well as renaming, saving etc. The only way to unlock the files is to get the Mac unmount the share. Mac OS X 10.2 workstations (samba 2.2) do create the same files, but do not lock them. I'm looking after 10.4 to see if there is a similar behaviour or not. My question: is there a locking option I can switch on the samba clients ? Thanks a lot for any help ! Guillaume
Martin Petersen
2005-Aug-29 11:52 UTC
[Samba] Locking problems on a Windows server with samba OSX clients
Guillaume Laur?s schrieb:> Hello, > > I have a small amount of Mac OS X 10.3 workstations networked on a Windows 2000 server. The samba version on the Macs is 3.0.10. > > For each file stored on the Windows server, the Macs create a file beginning with "._" which contains some resources about the file. My problem is that, just by browsing onto directories, the Macs seem to be locking all those "._" files (and not the regular file unless we open them), and this prevents moving the regular files, as well as renaming, saving etc. > The only way to unlock the files is to get the Mac unmount the share. > > Mac OS X 10.2 workstations (samba 2.2) do create the same files, but do not lock them. I'm looking after 10.4 to see if there is a similar behaviour or not. > > My question: is there a locking option I can switch on the samba clients ? > > Thanks a lot for any help ! > > > Guillaume >Hi Guillaume, we're using Mac OS X 10.3 and 10.4 as SMB-Clients and we have been very disappointed with this hidden files (e.g. .DS_Store). I have fount this hint http://tinyurl.com/d6z9c at the site Mac OS X hints, which prevents Mac OS X Clients from writing their special hidden files to network shares. Maybe it is worth a look for You. Ciao, Martin Petersen
Guillaume Laurès
2005-Aug-29 13:32 UTC
[Samba] Locking problems on a Windows server with samba OSX clients
Thanks for your input. Unfortunately it does not solve the problem, which really is that "._*" files get locked until client disconnects, without reason and blocking the other clients. Still searching... Guillaume -----Message d'origine----- De?: Martin Petersen [mailto:martin.petersen@picturepuzzlemedien.de] Envoy??: lundi 29 ao?t 2005 13:52 ??: Guillaume Laur?s Cc?: samba@lists.samba.org Objet?: Re: [Samba] Locking problems on a Windows server with samba OSX clients Guillaume Laur?s schrieb:> Hello, > > I have a small amount of Mac OS X 10.3 workstations networked on a Windows 2000 server. The samba version on the Macs is 3.0.10. > > For each file stored on the Windows server, the Macs create a file beginning with "._" which contains some resources about the file. My problem is that, just by browsing onto directories, the Macs seem to be locking all those "._" files (and not the regular file unless we open them), and this prevents moving the regular files, as well as renaming, saving etc. > The only way to unlock the files is to get the Mac unmount the share. > > Mac OS X 10.2 workstations (samba 2.2) do create the same files, but do not lock them. I'm looking after 10.4 to see if there is a similar behaviour or not. > > My question: is there a locking option I can switch on the samba clients ? > > Thanks a lot for any help ! > > > Guillaume >Hi Guillaume, we're using Mac OS X 10.3 and 10.4 as SMB-Clients and we have been very disappointed with this hidden files (e.g. .DS_Store). I have fount this hint http://tinyurl.com/d6z9c at the site Mac OS X hints, which prevents Mac OS X Clients from writing their special hidden files to network shares. Maybe it is worth a look for You. Ciao, Martin Petersen
Guillaume Laurès
2005-Aug-29 16:21 UTC
[Samba] Locking problems on a Windows server with samba OSX clients
Hi, Thanks for this url, but I already digged all the macwindows.com before posting ;-) According to various reports on this issue, I can understand that it is reproducible with OS X 10.3 as a client (thus samba 3), and windows 2000, 2003 or samba 2.2 as a server (moving from 2.2 to 3.0 on the server fix the issue, unfortunately I don't use samba but a widows server...) As I said earlier, we tested 0S X 10.2 (samba 2.2) as a client and the issue doesn't appear. Strangely enough, with OS X 10.4 neither, even though it is based on the very same samba version than 10.3 (3.0.10). -----Message d'origine----- O.k., then I have another URL for You. Search on macwindows.com for a solution, they have a special Mac-Win2k section at http://macwindows.com/Win2000.html good luck. Martin