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.

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. 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. The bug seems specific to non-Apple SMB shares (we see it with Microsoft Server 2012r2), we can’t replicate it with OS X Server SMB shares. Turning on/off Finder previews has no effect. Our machines are not bound to Active Directory.We have confirmed with other institutions that have their clients and server bound to Active Directory and they see the same issue. On your Mac, choose Apple menu System Preferences, then click Sharing. In Finder, select Go and Connect to Server (Command+K) On the Conntect to Server dialog, type in smb:// followed by the name of the computer you wish to connect to The Connect to Server dialog in OS X.

Generate ssh key for mac. You can generate an SSH key pair in Mac OS following these steps: Open up the Terminal by going to Applications Utilities Terminal In the terminal, use the following command to start the key generation. That does nothing at all related to MAC addresses - it you want to use them, you will first have to retrieve it. This will help: Retrieving IP and MAC addresses for a LAN - there is a method there to retrive the current PC MAC address. But - don't waste too much time on this: MAC addresses can be spoofed, a PC will only have a MAC address if it has an active network connector, and most. The standard OpenSSH suite of tools contains the ssh-keygen utility, which is used to generate key pairs. Run it on your local computer to generate a 2048-bit RSA key pair, which is fine for most uses. The utility prompts you to select a location for the keys.


Setting up the Samba File Server on Ubuntu/Linux:

Samba For Mac Server Download

  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
  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
  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:
Coments are closed
Scroll to top