Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




2730 posts

Uber Geek
+1 received by user: 111


Topic # 106619 27-Jul-2012 16:03 Send private message

Subject says it all, file sharing was "broken" in 10.7 and it made the OS virtually useless in an enterprise environment. Even getting it working with Linux was a major pain and involved installing the separate GPL'd Samba support as Apple had abandoned the old ones due to licensing I believe implemented their own version which doesn't support the older SMB format that most systems still use.

Does anyone know if file sharing to/from 10.8 from/to a Windows 7 system works?

Edit: I turned up a command that apparently "fixes" the issue in 10.7:

sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0


So assuming that 10.8 still doesn't support SMB1 I can hopefully at least stick this command into an init filesomewhere so that Linux\Windows systems will talk to the mac again without much hackery.

I actually couldn't even get file sharing working between Mac's without using SMB, I've never managed to get AFS to work reliably but SMB\CIFS used to be pretty bulletproof.




Create new topic
5447 posts

Uber Geek
+1 received by user: 683

Trusted
Subscriber

  Reply # 663021 27-Jul-2012 16:53 Send private message

Do you happen to know which version of SMB is used by Windows Home Server 1? I've been running 10.8 for several weeks and have had no trouble with connecting to my WHS box. If there's a specific test I can run, then let me know and I'll give it a go :)

134 posts

Master Geek
+1 received by user: 5


  Reply # 663026 27-Jul-2012 17:04 Send private message

I think steve might be interested in the sharing capability of OSX. I.e., samba on OSX.

There were major issues in 10.7 - but they were plugged pretty quickly. I think they were to do with connecting through to Win7+ boxes though.

I've been successfully connecting to remote TM shares hosted by a linux box, Win7 machines and a Win8 box for a short time with no issues.

I've only been on 10.8 for a few days (not a dev) but it's been fine connecting TO all of my machines. I can turn sharing on my machine and connect TO it if you wish steve and let you know?



2730 posts

Uber Geek
+1 received by user: 111


  Reply # 663029 27-Jul-2012 17:21 Send private message

If you could have a quick check, that'd be appreciated. The primary issue I had was connecting _to_ shares on OS X from non-OSX systems under 10.7

Supposedly (from what little info I've found), WinXP and earlier used SMB1, Vista and upwards use SMB2.

I'm not sure what version WHS supports, given how recent it is, I would assume SMB2 in which case 10.7 _should_ be able to access WHS shares & vice-versa.

I ended up reverting to 10.6 (which was not a small job) almost solely to regain this one feature. Being able to upgrade 10.8 and use it as desired on this system would be great.




5447 posts

Uber Geek
+1 received by user: 683

Trusted
Subscriber

  Reply # 663032 27-Jul-2012 17:27 Send private message

stevenz: If you could have a quick check, that'd be appreciated. The primary issue I had was connecting _to_ shares on OS X from non-OSX systems under 10.7

That, I do not know. I don't have a Windows 7 system other than dual booting OS X, and then I obviously can't see any shares because OS X won't be running :)

134 posts

Master Geek
+1 received by user: 5


  Reply # 663037 27-Jul-2012 17:32 Send private message

The issue between SMB 2 and 1 is the authentication they use. For example - 10.7 had issues connecting to Win 7 and up (possibly vista too - can't remember) unless you modified policy to allow both types of authentication.

It was a pain, but an easy fix. I'm not sure if that issue also had something to do with the issue you were mentioning steve.

Anyway, I'll turn on smb file sharing on 10.8 and connect to it via a win7 machine and a linux machine for you and let you know the results. Be a bit later though.



2730 posts

Uber Geek
+1 received by user: 111


  Reply # 663040 27-Jul-2012 17:46 Send private message

I suspect that this is the issue in question:

http://support.apple.com/kb/HT4697?viewlocale=en_US





5447 posts

Uber Geek
+1 received by user: 683

Trusted
Subscriber

  Reply # 663043 27-Jul-2012 17:49 Send private message

Well in that case, I assume that "defaults write net.smb.fs kern_deprecatePreXPServers 0" will make it persist through reboots.

Edit: I'm no longer so sure that this will work.

1 post

Wannabe Geek


  Reply # 663084 27-Jul-2012 19:57 Send private message

@stevenz
It's definitely broken in 10.8 - Mountain Lion.
I had been limping along in 10.7 with "sysctl -w net.smb.fs.kern_deprecatePreXPServers=0" to connect to my Buffalo Terrastation.

Now in 10.8 I get the following "net: class is not implemented" when I run the above sysctl command.
"sysctl -a | grep smb" only shows the following options:
net.smb.fs.version: 107000
net.smb.fs.loglevel: 0
net.smb.fs.kern_deadtimer: 60
net.smb.fs.kern_hard_deadtimer: 600
net.smb.fs.kern_soft_deadtimer: 30
net.smb.fs.tcpsndbuf: 261120
net.smb.fs.tcprcvbuf: 261120

Any help or ideas would be appreciated!

134 posts

Master Geek
+1 received by user: 5


  Reply # 663102 27-Jul-2012 20:35 Send private message

Well,

My windows 7 install is about a month old. It's a pretty fresh, untouched installation. It connected fine to my 10.8 OSX machine that I installed yesterday. All I did was turn on file sharing, ticked my user - and chose a folder to share.

Also successfully connected my Ubuntu box to it without hassle too.

Copied a bunch of files around. Created some folders. Removed some stuff.

No issues. Permissions all looked good on the OSX machine afterward too.



2730 posts

Uber Geek
+1 received by user: 111


  Reply # 663861 30-Jul-2012 10:23 Send private message

Thanks for checking. I've got the installer sitting in my machine now so will give it a blast and hope it behaves. Looks like it might still be an issue with older systems if sboutrous's NAS is anything to go by which could be a nuisance, we shall see.






2730 posts

Uber Geek
+1 received by user: 111


  Reply # 665386 1-Aug-2012 13:28 Send private message

Looks like it's still "broken" in that SMB1 is not supported. Windows 7 seems to access it okay, but older systems (Android devices) have serious issues authenticating. Some of the shares between the 2 macs are still a little temperamental, but AFP seems to actually work properly for a change.

I must say I'm liking 10.8 a lot more than 10.7 though. Looks like it'll need a little "massaging" to get it working as I'd completely like it to.




134 posts

Master Geek
+1 received by user: 5


  Reply # 665397 1-Aug-2012 13:42 Send private message

I'm loving 10.8 so far. Apart from the new features - it runs much faster than Lion. I love how I can turn off notifications for things I *really* dont want to be notified about now.

Create new topic








Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site: