Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-21-2007, 11:30 PM   #1
LQ Newbie
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Mac OS networking errors with Samba shares ....

Hi everyone:

Am hoping that someone can shed some light on an issue with a Samba share. We're using v3.0.14 on Debian 3.0.

We have a computer lab with 14 Mac rubys, and 15 Intel-based Macbooks. We have created one share named "maclab" on the file server for students to save their work. The rubys are running MacOS 10.3.9, and the Macbooks are running the latest version of MacOS.

The problem we're having is when the kids are using Microsoft Word 2004. When they open and work on a document, and try re-saving it, they get the following error: "There has been a network or file permission error. The network connection may be lost." The problem has shown itself primarily on the ruby Macs, but we had it happen to one Macbook.

I use Webmin to administer our server, and for kicks, I went in one day to view the connections to the network share. It showed most computers as connected, and having one open file.

There were, however, a goodly amount of machines (5-7) who had HUGE numbers of files all open, according to Samba. The files are scattered all throughout the share, and sometimes it would show 15-20 files open on one computer, and they always take the form of /path/._filename When I went to look at these machines, at least 4 of the 7 didn't even have Word open! But yet, Samba says that all of these files are open. ._ files, according to Apple's web site, are created on file systems that do not have the "forked file feature", and it contains the resource fork.

It seems to me the problem is that Samba is not monitoring correctly where these ._ files belong and who they belong to. The Macbooks all appear fine - Samba lists them as connected with only one file open (the file the student is working on).

Does anyone have any idea of things I could try to remedy this problem? I've tried a few things, and even recreated the entire share over, but the problem is still happening.

Any help or pointers in the right direction would be greatly appreciated. Thanks for the help!

Old 09-23-2007, 01:21 PM   #2
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I had this exact same problem and could not figure it out. I was hooking up a Mac OS to a Linux SAMBA share and it would work intermittently as you mention. This is a known problem with Macs and Debian/Ubuntu SAMBA if you Google up for it. Look in your system and samba logs on your Mac

Fortunately for my situation, I was only doing backups so I switched to SSH/SFTP. Maybe you could try NFS

Last edited by Micro420; 09-23-2007 at 01:22 PM.
Old 10-24-2007, 09:21 PM   #3
LQ Newbie
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Well, I tried to turn off oplocks today, and things seemed to work better, but perhaps it just seems that way.

Does anyone know why these ._ temporary Mac files are not created on the local machine, and if there is a way to get them to go there instead of the server? Not sure if that's possible.

I'd like to try and stay with Samba if at all possible. It has a very user-friendly Webmin interface, and since I've never used NFS before, it would be a new ballgame to try.

The lab is closed until Monday, so I'll see what happens when it gets used again!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
Mac, Linux and Win File Shares over LAN Strixy Linux - Networking 4 04-26-2004 10:11 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 02:23 PM
Connecting to Mac Shares unclebyron Linux - Networking 4 06-21-2003 01:16 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration