[Samba] Odd Mac OSX 10.6 error on Samba share
Peter Lane
qtxplane at gmail.com
Wed Oct 3 05:58:37 MDT 2012
Hi All,
I've done quite a bit of research on this one and if I'm honest about the
cause of this "fault" it's probably because I'm trying to do too much
"outside the box" :) Nevertheless I enjoy the challenge so here is the
scenario:
I have a Samba Service (v3.2.5) providing file shares running on Debian 2.6.
The samba server uses a Windows Domain server for authentication
There are many shares available from the server and all use the Domain for
authentication - with each group having an appropriate permission on each
share (none, read only, read/write)
All shares are local mount points (except for a new share below)
I had to "force" the file and directory perms because the macs didn't
create nice file and directories
The shares are accessed by Macs and Windows PCs and all has been working
fine for over a year until...
Here is the change and the problem:
A new mount point with fstab entry has been added on the linux server
connecting the linux server to a share on a remote windows server (also on
the Windows Domain)
A "service account" has been created on the Windows Domain for the linux
box to access the windows share - this account has been given full rights
on the windows share and file system
A new samba share has been added, settings configured as above, forced
perms, using the windows domain, etc.
Windows clients have no issues whatsoever. However, the Macs all of which
are Snow Leopard do have show stopping issues; When creating a file we get
this error:
The Finder can’t complete the operation because some data in <FILENAME>
can’t be read or written.
(Error code -36)
The file that should have appeared on the windows share is there but 0B in
size, the mac "turd" ._ file is present, 4096B in size, and looks "good"?
(apologies for the "turd" expression but macs do s**t all over the file
system!) here is a dump of the ls for the directory (sensitive stuff
removed):
debian01:/mnt/remotedata/Jobs/Current/79700 NOSS Reports/Original# ls -la
total 636
drwxrwxrwx 1 root root 0 2012-10-03 12:24 .
drwxrwxrwx 1 root root 0 2012-09-27 06:46 ..
-rwxrwSrwx 1 root root 4886 2012-08-30 09:30 BAP.csv
-rwxrwSrwx 1 root root 143503 2012-08-30 09:30 BAP_August 2012.docx
-rwxrwSrwx 1 root root 200296 2012-09-05 10:04 BAP_August 2012.pdf
-rwxrwSrwx 1 root root 91557 2012-08-30 09:29 CC.csv
-rwxrwSrwx 1 root root 6148 2012-09-04 11:43 .DS_Store
-rwxrwSrwx 1 root root 4096 2012-10-03 12:26 ._TEST.pdf
-rwxrwSrwx 1 root root 0 2012-10-03 12:24 TEST.pdf
-rwxrwSrwx 1 root root 59852 2012-08-30 09:29 NOSS Report August 2012.docx
-rwxrwSrwx 1 root root 126390 2012-09-05 10:04 NOSS Report August 2012.pdf
Note the files *TEST.pdf - these are the files created by the Mac (the
other files have been created by windows clients.
More info can be provided, of course - but I'm not sure where to look first!
Any help will be appreciated.
Thanks
More information about the samba
mailing list