Kodi Community Forum
Upgrade to Lion - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: Upgrade to Lion (/showthread.php?tid=105897)

Pages: 1 2 3 4 5 6 7 8


- Ned Scott - 2011-07-24

Buadhai Wrote:There seems to be some continuing confusion here with respect to server vs client. The XBMC SMB client has not changed and works as it always did. In the Mac OS, Lion has implemented a proprietary SMB-like server which, AFAIK, is not compatible with XBMCs client.

SMB is proprietary, 100%. Unless you are Microsoft you are basically using a hacked up implementation. Microsoft does not share most of the details on the protocol, nor do they license it out.


- Ned Scott - 2011-07-24

Buadhai Wrote:Here's an Apple Knowledge Base article dealing with Lion's implementation of SMB:

Lion Server: SMB file server works with Mac OS X v10.6, Windows XP or later

From the article:



I understand that this talks about Lion Server. Is there any reason to believe that the SMB server in plain vanilla Lion is different from the one included with Lion Server?

Lion Server does not change the SMB server. It is the same in both versions. Lion Server includes some extra tools, but it doesn't change the actual implementation of the SMB server.


- Buadhai - 2011-07-24

Ned Scott Wrote:Lion Server does not change the SMB server.

I thought it wasn't an SMB server... Smile

How should we refer to non-Microsoft implementations of CIFS?


- darkscout - 2011-07-24

Ned Scott Wrote:SMB is proprietary, 100%. Unless you are Microsoft you are basically using a hacked up implementation. Microsoft does not share most of the details on the protocol, nor do they license it out.

One Server to rule them all, One Server to find them,
One Server to bring them all and in the darkness bind them.

Quit using closed source crap.
NFS is where it's at.


- Buadhai - 2011-07-24

darkscout Wrote:NFS is where it's at.

I'd love to use NFS. I've got it set up. All my Macs can connect to it. But I can't get it to work with XBMC on either an ATV1 or ATV2.

See this post: http://forum.xbmc.org/showpost.php?p=844437&postcount=28


Life goes on - crustyjuggler - 2011-07-24

davilla Wrote:Not an XBMC problem, this is an OS problem.

I hope someone steps up, i really like XBMC, but i like Lion more.


- Buadhai - 2011-07-24

Buadhai Wrote:I'd love to use NFS. I've got it set up. All my Macs can connect to it. But I can't get it to work with XBMC on either an ATV1 or ATV2.

So, just for fun I installed NFS on my Linux box. Works fine:

Code:
xxx@UbuntuBox:/nfs$ sudo mount -t nfs  192.168.0.75:/Volumes/Media /nfs
xxx@UbuntuBox:/nfs$ ls
Movies  Pictures  TV

But no joy on any of my three XBMC installations.

Sure, open source is great, but if it doesn't work...


- darkscout - 2011-07-24

Buadhai Wrote:I'd love to use NFS. I've got it set up. All my Macs can connect to it. But I can't get it to work with XBMC on either an ATV1 or ATV2.

What version of XBMC are you running on said devices?


- Ned Scott - 2011-07-24

darkscout Wrote:One Server to rule them all, One Server to find them,
One Server to bring them all and in the darkness bind them.

Quit using closed source crap.
NFS is where it's at.

This is another reason I didn't worry about upgrading to 10.7. I'm ready to cut the SMB cord. Even without the 10.7 issue there are a number of reasons to use something like NFS over SMB.


- Buadhai - 2011-07-25

darkscout Wrote:What version of XBMC are you running on said devices?

MacMini pre-11 61bdb05

ATV1 pre-11 5bbc9c2

ATV2 pre-11 b2f2a7

I can mount the NFS share from the Finder on a MacMini and a MacBook. I can mount the NFS share from the command line on the MacMini, on the ATV1 and on a Linux box (Ubuntu 11.04). On all three XBMC installations NFS is exposed in the GUI in the "add network location" dialog. I can't get it to work on any of them.

Here's the log file entry for attempting to add an NFS share on the ATV1

Code:
08:17:52 T:2684407808 M:  9666560   DEBUG: SECTION:LoadDLL(libnfs.1.0.0.dylib)
08:17:52 T:2684407808 M:  9666560   DEBUG: Loading: /Applications/XBMC.app/Contents/Frameworks/libnfs.1.0.0.dylib
08:17:52 T:2684407808 M:  9560064   ERROR: NFS: Failed to mount nfs share: (null)
08:17:52 T:2684407808 M:  9564160   ERROR: GetDirectory - Error getting nfs://192.168.0.75:2049/Volumes/Media

Here's a successful mount on the ATV1 using the command line:

Code:
bash-2.05b# mount_nfs 192.168.0.75:/Volumes/Media /mnt/Media/nfs
bash-2.05b# ls -la
total 56
drwxrwxrwx   16 nobody    nobody      612 Jul 22 09:11 .
drwxr-xr-x   16 frontrow  frontrow    544 Jul 25 07:15 ..
-rw-r--r--    1 nobody    nobody    15364 Jul 22 15:16 .DS_Store
drwx------    9 nobody    nobody      306 Jul 22 06:37 .Spotlight-V100
drwxrwxrwt    3 nobody    nobody      102 Oct 26  2010 .TemporaryItems
d-wx-wx-wt    4 nobody    nobody      136 Jul 22 16:08 .Trashes
drwxrwxrwx    4 root      nobody      136 Jan 20  2011 .bzvol
-rw-r--r--    1 nobody    nobody        0 Jul 22 09:11 .com.apple.timemachine.supported
drwx------   18 nobody    nobody      612 Jul 22 16:01 .fseventsd
-rw-r--r--    1 nobody    nobody        0 Jul 25 09:22 .keepThisDriveSpinning
drwxr-xr-x    3 frontrow  staff       102 Jul 20 22:58 Install Mac OS X Lion.app
drwxrwxrwx   19 nobody    nobody      646 Jun 17 16:57 Movies
drwxrwxrwx    3 frontrow  staff       102 Feb  7  2016 Pictures
drwxrwxrwx   62 nobody    nobody     2108 Jul 22 14:56 TV



- ctawn - 2011-07-25

Another useful explanation of what Apple did:

http://www.osnews.com/story/24572/Apple_Ditches_SAMBA_in_Favour_of_Homegrown_Replacement

To me this again suggests that XBMC could support this SMB2 implementation.


How to to fix SMB/restore SMB access in LION a step by step - X3lectric - 2011-07-26

LION users do not despair...

What foolish suits break, smarter men in jeans fix it... Nerd

How to to fix SMB/restore SMB access in LION a step by step

http://www.johnlarge.co.uk/2011/07/19/osx-lion-samba-smb-shares-broken-xbmc-not-working/

Shocked

cheers


- Buadhai - 2011-07-26

X3lectric Wrote:LION users do not despair...

What foolish suits break, smarter men in jeans fix it... Nerd

How to to fix SMB/restore SMB access in LION a step by step

http://www.johnlarge.co.uk/2011/07/19/osx-lion-samba-smb-shares-broken-xbmc-not-working/

Shocked

cheers

I posted that link back on page 2 of this thread:

http://forum.xbmc.org/showpost.php?p=843738&postcount=13

I'd be very interested in hearing from anyone who has tried this and made it work.


- solid13138 - 2011-07-26

Buadhai Wrote:I posted that link back on page 2 of this thread:

http://forum.xbmc.org/showpost.php?p=843738&postcount=13

I'd be very interested in hearing from anyone who has tried this and made it work.

I've managed to get this method to work and it's actually the only way for me to share NTFS shares (can't be shared through AFP or Lion's SMB implementation). The only tricky part was adding an SMB user and password but other than that I just followed the instructions. Don't forget to turn off Lion's built in SMB sharing.


- darkscout - 2011-07-26

Just download and install MacPorts. No reason to to compile it from source yourself:
http://www.macports.org/