Samba For Mac Server



Samba allows to share files and printers with other computers remotely, regardless their operating system (linux, windows, Mac, ...). This guide show how to intall and configure the Samba service in a Ubuntu machine and access it through windows and mac.

  1. Samba Server On Windows
  2. Samba For Mac Server Settings
  3. Samba For Mac Server Versions

The SPN may be incorrect because it's registered for an old server. However in a successful SMB Session Setup request such as in the Windows Server 2008 R2 client case, the client forwards the SPN for the actual server name. If the file server name was resolved through DNS, the SMB client appends the DNS suffix to the user-supplied name. From Finder, connect to your Samba server using 'smb://User@Server'. Note that TM backups over smb may now be possible with your server. Other Mac models can be found in '/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist'. Use 'Quick Look', Xcode or plutil to view or convert plist.

Setting up the Samba File Server on Ubuntu/Linux:

SambaServer

Samba runs on most Unix, OpenVMS and Unix-like systems, such as Linux, Solaris, AIX and the BSD variants, including Apple's macOS Server, and macOS client (Mac OS X 10.2 and greater). Samba is standard on nearly all distributions of Linux and is commonly included as a basic system service on other Unix-based operating systems as well. Set up file sharing on the Mac. On your Mac, choose Apple menu System Preferences, then click Sharing. Open Sharing preferences for me. Select the File Sharing checkbox, then click Options. Select “Share files and folders using SMB.”. In the Windows File Sharing list, select the checkbox next to. On your Mac, choose Apple menu System Preferences, then click Sharing.

Samba For Mac ServerSamba

Samba Server On Windows

  1. Open the terminal
  2. Install samba with the following command: sudo apt-get install samba smbfs
  3. Configure samba typing: vi /etc/samba/smb.conf
  4. Set your workgroup (if necesary). Go down in the file, until you see :
  5. Set your share folders. Do something like this (change your path and comments)

  6. Restart samba. type: /etc/init.d/smbd restart
  7. Create the share folder: sudo mkdir /your-share-folder
  8. Set the permissions: sudo chmod 0777 /your-share-folder
  9. you are all set in ubuntu
Mac OS
Samba For Mac Server
  1. Open finder
  2. Menu Go -> Connect to server (command-k)
  3. In the 'Server Address' textbox, type: smb://<your-ip-address-to-ubuntu>
  4. Connect
  5. Select guest and OK
  6. Your all set, you'll be able to see /<your-share-folder> from here.

Samba For Mac Server Settings

  1. Start button -> Run
  2. Type: <your-ip-address-to-ubuntu><your-share-folder>
  3. All set

Samba For Mac Server Versions

If you need to enable the samba ports in your firewall these are the ports: