Bug 7235 - 3.4.7 breaks symlinks on Mac Leopard connections
Summary: 3.4.7 breaks symlinks on Mac Leopard connections
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: File services (show other bugs)
Version: 3.4.7
Hardware: x64 Linux
: P3 major
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 12:33 UTC by Jon Baker
Modified: 2017-01-16 21:18 UTC (History)
1 user (show)

See Also:


Attachments
Log Level 10 output (143.04 KB, application/octet-stream)
2010-03-11 09:14 UTC, Jon Baker
no flags Details
tcpdump output mentioned above (421.69 KB, application/octet-stream)
2010-03-11 09:14 UTC, Jon Baker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Baker 2010-03-10 12:33:16 UTC
I just updated from 3.4.5 to 3.4.7 and now my symlinks are not followed when connected via Mac Leopard.  Leopard currently has a known issue where it doesn't follow the symlinks correctly, but this issue is resolved by setting unix extensions = no.  However, with the latest update to 3.4.7, the symlink folders show up as folders but they are empty when opened on the Leopard system, and the appear as files that disappear when clicked on.  This is obviously something that broke with the 3.4.7 release.
Comment 1 Jeremy Allison 2010-03-10 18:39:35 UTC
Can you attach a wireshark trace and a debug level 10 log to this bug please so we can investigate ?

Jeremy.
Comment 2 Jon Baker 2010-03-11 09:13:57 UTC
I've not used wireshark, I usually use tcpdump, but from what I can tell the log format is the same - I'm attaching the output of the following tcpdump command:

tcpdump -s 65535 -w /tmp/samba_dump host 192.168.7.12

as well as the corresponding log level 10.  The commands executed while logging:

9:07:15 - connect
9:07:25 - open the symlink folder
9:07:40 - disconnect
Comment 3 Jon Baker 2010-03-11 09:14:26 UTC
Created attachment 5488 [details]
Log Level 10 output
Comment 4 Jon Baker 2010-03-11 09:14:54 UTC
Created attachment 5489 [details]
tcpdump output mentioned above
Comment 5 Jeremy Allison 2010-03-11 20:04:29 UTC
Can you give me a ls -lR of the symlink folder, so I know what the symlinks are in the wireshark trace please ?

Jeremy.
Comment 6 Jon Baker 2010-03-11 20:28:23 UTC
Uploaded the output of ls -lR to

http:/www.churchonthemove.com/images/listing.zip

(the file was too large to attach, there's a lot of files there)
Comment 7 Jon Baker 2010-03-18 10:15:40 UTC
As a follow up, I just received an issue with a Windows user experiencing a similar problem with a symbolic link in their homes folder, so this is not specific to Macs.  They had been able to access the folder without issue, then suddenly it was not allowing them to.  (I was not at the computer in question and was merely trying to get them back as quickly as possible so I have no further details).  I was able to get them to be able to work correctly by moving the linked folder and then putting a symlink where it was originally, which worked in this case because the original location was for apache which is following the new symlink just fine, but I do have some symlinks where multiple users need access, so I'm bracing myself for when this comes up.  At this point it looks like I may need to roll back to an older version of samba unless a fix is pending.
Comment 8 Björn Jacke 2012-08-12 14:10:46 UTC
I didn't see this anymore with OS X 10.6 and Samba 3.6. Can you confirm that this is no issue any more?
Comment 10 Björn Jacke 2017-01-16 21:18:30 UTC
closing now