Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Samba in Lion and ML Server keeps disconnecting, PC InDesign crashes

I've installed Lion Server as a server in a small design studio. There's four Macs and one W7 PC in the office running desing software, mainly InDesign.


While Macs are fine, PC InDesing crashes within a few minutes upon opening old or creating new document and saving on the server with this error:


The network connection was lost for the file \\SERVER\share\file.indd or the file was modified by another process.


The same happens on a different computer with same InDesign so network connection is irrelevant.


InDesign is updated to 7.0.4, but CS6 showed same behaviour.


I tried very short path with test.indd being in the root of share. Same crash.


It doesn't happen on an old server based on Linux/SMB so it must be new SMBX implementation.


Though, I had problems replicating it in other application than InDesign. Eg Word didn't crash at all when files are opened from the same location.


I also tried guest vs authenticated login - the same crash. Or IP vs DNS server name. And also logging properly as SERVERNAME\username as Winows logs as CLIENTNAME\username by default which is wrong.


The only other misbehaviour was an very rare message about server not being reachable when doubleclicked in Explorer > Network.


To get a log on the server, I unloaded smbd and started it in debug mode:


sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbd.plist

sudo /usr/sbin/smbd -debug -stdout


and at the very moment it's happening, I'm getting this error:


ERROR [smb_dispatch.cpp:72] request has no session


And that's about it. I didn't get any further. No-one seems to have ahd this issue before.


Any insight into SMBX would be very appreciated.

Posted on Sep 7, 2012 9:06 AM

Reply
37 replies

Jun 11, 2013 10:30 PM in response to brycesteiner

I have not been so lucky with SMBUp.


Windows clients are having lots of permissions errors. Has anyone else been having these errors?


"this folder has properties that can't be copies to the new location"

and

"you require permission from Unix User\ladmin to make changes to this folder"


I think the Samba settings hold the key but there are so many to choose from:

http://www.samba.org/samba/docs/using_samba/ch08.html


Any suggestions?


Thanks

Morgs

Jun 12, 2013 8:19 AM in response to Morgs

SMBup is fantastic! It handles the installation BUT the configuration is entirely up to the user. It took me a solid 2-3 days to find the correct Samba settings for my needs. I am not sure if the error you are receiving is tied to this one "are you sure you want to copy this file without its properties". It tooks some digging around but ultimately I appeased the WIN7 system with adding this string into the OS X Samba config:


"streams_xattr" into the "vfs object" field.


My error has to do with WIN7 NTFS volumes storing ADS information which cannot get transferred to a non-NTFS volume. From what I read, this variable copies the ADS into an alternate data stream, thus appeasing WIN7 NTFS client.


I hope this can help.


As for the permissions. You will need to elaborate further on your user accounts, group accounts and their respective permissions across each system you are using. In my, the user account and it's permissions are universal across all systems and platforms, so I merely had to match the permissions in the Samba config. Once I did that, smooth sailing.


-M

Jun 16, 2013 11:36 PM in response to mncrnich

We tried some many things and eventually got it all to work but I am not sure I could remember everything in an effort to tell anyone what worked.


Turning off 'acl check permissions' for each share certianly did help.


The big key though was understanding that installing smbup is far from the end of your work. Understanding Samba and there for the setting choices you might need to make is where it is all at.


I found too that maybe you need to hit that Save All button more than you might first think, so I started hitting after everything.


Good luck to all that need to implement this.


Lets hope that SMB2 in OS X Mavericks make life a whole lot easier.


Thanks

Morgs

Jun 17, 2013 12:31 AM in response to Morgs

Well I wouldn't hold on my hopes for the updates as this has been an issue in a few last OSes, both on the server and Windows side, as well as Adobe CS.


I thought the SessTimeot solves it for once and all but although it's certainly much better now, the timeout isn't certainly 18 hours 12 minutes and 15 seconds as FFFF value should be. The InDesing crashes after now longer period of time and not within a few minutes or seconds as it was so it's certainly more bearable now.

Dec 4, 2013 7:32 AM in response to zpjet

I have a small office with windows 7 clients sharing off a new 10.8.5 server. We have been experiencing the same problems with disconnections, large pdfs crashing, etc. I have created the SessTimeout entry with a decimal value of 36000 which has fixed some of the issues with the pdfs crashing but I'm now seeing new errors. When someone tries to hit the back button in their explorer, they get "An error occurred while reconnecting to F: to \\computername\shared folder Microsoft Windows Network: The local device name is already in use. This connection has not been restored." message. They can then close the window, reopen explorer and then renavigate to the folder but this can be time consuming every time. Also, Windows clients are no longer able to delete pdf and other files from the server. They will delete them but the files will just reappear after a minute or two.

Is anyone else seeing behavior like this after changing the timeout parameters? If so, is there a tweak that can address this?


Or should I consider moving SMBUp which should hopefully fix all these things or will they? Or does anyone have experience with Mavericks server and is there a new implemenation of SMB that works better than ML Server?


Everything worked great with Snow Leopard Server. Sigh. Any insight or suggestions is always greatly appreciated.

Samba in Lion and ML Server keeps disconnecting, PC InDesign crashes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.