Setting up SMB or NFS on mac
#16
(2019-10-12, 03:55)sobarber Wrote: Please beware of Catalina for MacOS and NFS. There are new security features that the wiki instructions no longer work. If anyone has workaround for Catalina, please post here and update the Wiki. I have not tried the SMB functionality for Catalina yet, but it is next on my todo list.

Thanks in advance.
I refuse to use Catalina due to it dumping 32-bit app support (breaks most games and many high-priced apps like older Photoshop versions), but I did notice that when I installed Mojave it didn't just wipe/reset my one file setting in one of the files like previous versions did, but deleted the entire file entirely.  I had to copy back the relative files completely from a previous OS backup version on top of turning SIP off first to be able to edit the files.  

It's hard to believe, but macOS (then OS X) used to have full NFS support in the server app settings.  They removed it, but in order to remain UNIX compliant and keep their certification, they included all required tools and apps.  They clearly felt no need to make them easily accessible.  Perhaps with Catalina, they no longer care about being UNIX certified?
THEATER: Epson 3100 3D Projector, DaLite 92" screen, 11.1.6 (Marantz SR7012 + Yamaha HTR-5960 + Onkyo ESPro) - Mixed Dialog Lift  - PSB T45/B15/S50/X1T/CS500 Speakers & Def Tech PF-1500 15" sub ; Sources: PS4, LG UP875 UHD, Nvidia Shield (KODI), ATV4K, Zidoo X9S (ZDMC), LD, GameCube
Reply
#17
OK, I figured out the NFS changes on Catalina. You have to do the edits to the plist from the Terminal started in the Recovery OS mode with the SIP disabled.

In the RecoveryOS, the boot volume will be mounted as "/Volumes/{Root Volume Name}" so the root volume is called  "Macintosh HD" then the boot volume would be mounted as "/Volumes/Macintosh HD"

The file to edit would be "/Volumes/Macintosh HD/System/Library/LaunchDaemons/com.apple.nfsd.plist"

And then you can reenable SIP before you reboot.
Reply
#18
(2019-10-12, 23:00)sobarber Wrote: OK, I figured out the NFS changes on Catalina. You have to do the edits to the plist from the Terminal started in the Recovery OS mode with the SIP disabled.

In the RecoveryOS, the boot volume will be mounted as "/Volumes/{Root Volume Name}" so the root volume is called  "Macintosh HD" then the boot volume would be mounted as "/Volumes/Macintosh HD"

The file to edit would be "/Volumes/Macintosh HD/System/Library/LaunchDaemons/com.apple.nfsd.plist"

And then you can reenable SIP before you reboot.
Reply
#19
(2019-10-14, 16:44)Kotek67 Wrote:
(2019-10-12, 23:00)sobarber Wrote: OK, I figured out the NFS changes on Catalina. You have to do the edits to the plist from the Terminal started in the Recovery OS mode with the SIP disabled.

In the RecoveryOS, the boot volume will be mounted as "/Volumes/{Root Volume Name}" so the root volume is called  "Macintosh HD" then the boot volume would be mounted as "/Volumes/Macintosh HD"

The file to edit would be "/Volumes/Macintosh HD/System/Library/LaunchDaemons/com.apple.nfsd.plist"

And then you can reenable SIP before you reboot.

Can someone please help me figure this out - after upgrading to MacOs Catataline , I cannot longer access my SMB shares within Kodi that worked until the upgrade with no problems. I am getting "lock settings" with user/password prompt when trying to access the previously added shares ? What can I do here to fix that? Which credentials is Kodi asking me to enter ? Please help!!!!
Reply
#20
(2019-10-14, 16:48)Kotek67 Wrote:
(2019-10-14, 16:44)Kotek67 Wrote:
(2019-10-12, 23:00)sobarber Wrote: OK, I figured out the NFS changes on Catalina. You have to do the edits to the plist from the Terminal started in the Recovery OS mode with the SIP disabled.

In the RecoveryOS, the boot volume will be mounted as "/Volumes/{Root Volume Name}" so the root volume is called  "Macintosh HD" then the boot volume would be mounted as "/Volumes/Macintosh HD"

The file to edit would be "/Volumes/Macintosh HD/System/Library/LaunchDaemons/com.apple.nfsd.plist"

And then you can reenable SIP before you reboot.

Can someone please help me figure this out - after upgrading to MacOs Catataline , I cannot longer access my SMB shares within Kodi that worked until the upgrade with no problems. I am getting "lock settings" with user/password prompt when trying to access the previously added shares ? What can I do here to fix that? Which credentials is Kodi asking me to enter ? Please help!!!! 
I am having trouble after catalina as well.. I am able to access the local files on kodi (non-repository) but when I click the video, its like it tries to load but does nothing.. I am able to reload the library so I know the path is good.. This issue is across the board if I use kodi on a mac, firestick, firetv..

If I connect to the same folder on a mac through finder, I am able to play the movie with no issues.. So its not necessarily an SMB issue in general, but an SMB issue through kodi..

I have some log files that do show an error....

2019-10-19 09:38:04.096 T:123145331466240   ERROR: Read - Error( -1, 53, Software caused connection abort )
2019-10-19 09:38:04.096 T:123145331466240   ERROR: Open - error probing input format, smb://192.168.10.55/Movies/Movies/3 Days to Kill/3 Days to Kill (2014) .mp4

Any ideas?
Reply
#21
I'm glad I have no intention of EVER using Catalina (which destroyed 32-bit support as well, which meant Photoshop CS3, iZotope RX and Microsoft Office 2012 here, none of which I want to pay to replace, let alone "rent" from the newer "Cloud" versions by Adobe and Microsoft).  I'm very unhappy with Apple on this and the lemmings on the Mac boards couldn't care less what Apple does.  They only use Facebook and Facetime anyway and the horrible Safari browser.  Hell, Mojave has issues for me as it is (fails to boot without going into safe mode every so often and doing a diskutil update Preboot command (no idea how it loses this over time, but I bet it has something to do with Boot Camp never getting an update as well in regards to APFS, although Windows 10 on it never fails to boot and SMB3 works religiously there while I sometimes get the odd "pause" from the Mojave server unless I reset it (turn off/on) after a reboot and then it seems good until the next reboot.  Frankly, El Capitan worked much more reliably, but I'm on a timer as it is for browsers, etc. continuing to work.  Microsoft is no picnic with their screwy updates either.  The days of a nice reliable server seem to be over.  The NVidia Shield firmware update seems to have brought back the dreaded "stops for no reason" issue on top of all that that previously went away on it by turning CEC commands OFF.  So either they've reenabled something not in the list internally or god knows what (shakes head).
THEATER: Epson 3100 3D Projector, DaLite 92" screen, 11.1.6 (Marantz SR7012 + Yamaha HTR-5960 + Onkyo ESPro) - Mixed Dialog Lift  - PSB T45/B15/S50/X1T/CS500 Speakers & Def Tech PF-1500 15" sub ; Sources: PS4, LG UP875 UHD, Nvidia Shield (KODI), ATV4K, Zidoo X9S (ZDMC), LD, GameCube
Reply
#22
(2019-10-12, 23:00)sobarber Wrote: OK, I figured out the NFS changes on Catalina. You have to do the edits to the plist from the Terminal started in the Recovery OS mode with the SIP disabled.

In the RecoveryOS, the boot volume will be mounted as "/Volumes/{Root Volume Name}" so the root volume is called  "Macintosh HD" then the boot volume would be mounted as "/Volumes/Macintosh HD"

The file to edit would be "/Volumes/Macintosh HD/System/Library/LaunchDaemons/com.apple.nfsd.plist"

And then you can reenable SIP before you reboot.

More info pleaseHuh Edit how?




This is my com.apple.nfsd.plist - What should I edit and How? Whats SIP and how do I disable it?
Thanks
————————————

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>KeepAlive</key>
    <dict>
        <key>PathState</key>
        <dict>
            <key>/etc/exports</key>
            <true/>
        </dict>
    </dict>
    <key>Label</key>
    <string>com.apple.nfsd</string>
    <key>ProgramArguments</key>
    <array>
        <string>/sbin/nfsd</string>
    </array>
</dict>
</plist>
Reply
#23
I am also getting a “error probing input format” in the log file, and the movies won’t start playing. Also, adding the network share and browsing through the folders takes forever when setting it up.
I am doing this on a Mac with Catalina accessing another Mac with Catalina, through Samba share..

The same share is fully accessible and working perfectly on my Apple TV (Infuse Pro - set up as Samba share also) so I don’t think the actual share is the issue here.

LE: If anyone's interested, I got it to work by adding the share through the "Volumes" option. Just went there and found the shared folder right there (after first creating an alias for it in Finder - but not sure that's even necessary because I deleted it later and the share still works now).
Reply
#24
(2019-07-21, 05:12)VonMagnum Wrote:
(2018-11-30, 23:29)Klojum Wrote: SMB v2 by default requires full user credentials, meaning name and a password. It is best to use the "Add a network location..." option when creating a video/music source. No idea if SMB v1 or v2 is used ni MacOS X.

NFS is a different animal from SMB, I don't know if MacOS X has default support for it, or that you even installed an NFS server already.

Mac Mojave has support for all versions of SMB (1,2,3).  It defaults to 3 and with Leia I have it set to force SMB3 as minimum.  You do not need name/password to work with KODI.  You do have to add location based on the network address (net bios style browsing has never worked with Apple's SMB here, only the older Samba from Mountain Lion and before).  Once you add the network location, you can use that to add as many of the drives/shares set up in the "sharing" preference pane in macOS.  Those drives do need to be set there to be read enabled for "everyone" to work and some media files can get set by some programs to not allow everyone to read them (that's easily set in the media drive a whole folder or even drive at a time with Finder for permissions for read only access).  Everything then works as expected save for a music glitch (described below).

And yes, macOS does have and still has NFS installed (possibly part of their UNIX certification as they seem to carry a lot of stuff they don't offer via GUI), but to get it to work with KODI, the SIP security integrity protocol so you can edit the files need to add -boot to the configuration file (actually Mojave seemed to remove my config file period, but I copied it back over from El Capitan and it worked fine). 

The issue I keep having is that playing music from KODI (whether Krypton 17.6 with SMB1 or 18.3 Leia with SMB3) over the network share results in a "skip" every so many songs for reasons unknown.  It even locked up through one song until its time was up for the next one tonight.  I need to do more testing with Windows 10 that I recently installed as an alternate OS on the same machine (set up with MacDrive so it can read my HFS+ media drives and KODI isn't the more wise for wear and accesses them exactly the same as from the Mac OS), but thus far it hasn't skipped on a song yet using Leia 18.3 and SMB3 (oddly video files have always seemed unaffected with MacOS serving; it's always just been music files that have an issue).  I fear Apple's home brew SMB has some kind of an issue in it.  I just tried disabling packet signing and directory sorting by database file (someone claimed this really speeds it up in MacOS), but it'll have to wait for another day to play a bunch of music files to test it (and Windows 10) as I have to work tomorrow.  I recently created a new database via NFS I can swap out as well to test music through that as well.


Will this work with Catalina?
Reply
#25
(2019-11-01, 16:49)ChinoAlan Wrote:
(2019-07-21, 05:12)VonMagnum Wrote:
(2018-11-30, 23:29)Klojum Wrote: SMB v2 by default requires full user credentials, meaning name and a password. It is best to use the "Add a network location..." option when creating a video/music source. No idea if SMB v1 or v2 is used ni MacOS X.

NFS is a different animal from SMB, I don't know if MacOS X has default support for it, or that you even installed an NFS server already.

Mac Mojave has support for all versions of SMB (1,2,3).  It defaults to 3 and with Leia I have it set to force SMB3 as minimum.  You do not need name/password to work with KODI.  You do have to add location based on the network address (net bios style browsing has never worked with Apple's SMB here, only the older Samba from Mountain Lion and before).  Once you add the network location, you can use that to add as many of the drives/shares set up in the "sharing" preference pane in macOS.  Those drives do need to be set there to be read enabled for "everyone" to work and some media files can get set by some programs to not allow everyone to read them (that's easily set in the media drive a whole folder or even drive at a time with Finder for permissions for read only access).  Everything then works as expected save for a music glitch (described below).

And yes, macOS does have and still has NFS installed (possibly part of their UNIX certification as they seem to carry a lot of stuff they don't offer via GUI), but to get it to work with KODI, the SIP security integrity protocol so you can edit the files need to add -boot to the configuration file (actually Mojave seemed to remove my config file period, but I copied it back over from El Capitan and it worked fine). 

The issue I keep having is that playing music from KODI (whether Krypton 17.6 with SMB1 or 18.3 Leia with SMB3) over the network share results in a "skip" every so many songs for reasons unknown.  It even locked up through one song until its time was up for the next one tonight.  I need to do more testing with Windows 10 that I recently installed as an alternate OS on the same machine (set up with MacDrive so it can read my HFS+ media drives and KODI isn't the more wise for wear and accesses them exactly the same as from the Mac OS), but thus far it hasn't skipped on a song yet using Leia 18.3 and SMB3 (oddly video files have always seemed unaffected with MacOS serving; it's always just been music files that have an issue).  I fear Apple's home brew SMB has some kind of an issue in it.  I just tried disabling packet signing and directory sorting by database file (someone claimed this really speeds it up in MacOS), but it'll have to wait for another day to play a bunch of music files to test it (and Windows 10) as I have to work tomorrow.  I recently created a new database via NFS I can swap out as well to test music through that as well. 


Will this work with Catalina? 
I can't say with any certainty since I don't use Catalina and probably never will due to it dumping 32-bit app support.
THEATER: Epson 3100 3D Projector, DaLite 92" screen, 11.1.6 (Marantz SR7012 + Yamaha HTR-5960 + Onkyo ESPro) - Mixed Dialog Lift  - PSB T45/B15/S50/X1T/CS500 Speakers & Def Tech PF-1500 15" sub ; Sources: PS4, LG UP875 UHD, Nvidia Shield (KODI), ATV4K, Zidoo X9S (ZDMC), LD, GameCube
Reply



Logout Mark Read Team Forum Stats Members Help
Setting up SMB or NFS on mac0
This forum uses Lukasz Tkacz MyBB addons.