Advertisement
superguru

MacOs Fix Samba Sharing

Apr 9th, 2021
715
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. # restart-samba.sh
  2. sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbd.plist
  3. sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist
  4. sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist EnabledServices -array disk
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement