Linux – Can’t access Linux Samba share from OSX

linuxmacossamba

I have a samba share in an arch linux server, that I cannot access from OSX, but I can access it normally from any Windows machine. When I try to access it from the terminal (from OSX) with the anonymous user it returns an authentication error:

$ smbutil view -a //192.168.1.154/data
smbutil: server rejected the authentication: Authentication error

When I try to access it with guest access I get:

$ smbutil view -g //192.168.1.154/data
smbutil: server connection failed: Invalid argument

Here is my smb.conf:

[global]
        workgroup = WORKGROUP
        server string = Shares
        security = user
        map to guest = Bad User
        logfile = /var/log/samba/%m.log
        max log size = 50
        dns proxy = no

[data]
        path = /mnt/data
        guest ok = yes
        read only = no
        browsable = yes
        force user = nobody
        force group = nobody
        create mask = 0755
        directory mask = 0755

Best Answer

In Finder, choose Go -> Connect to Server, and in the server address box enter

smb://somedomain%5csomeuser@someserver/path/to/data

  somedomain is the domain you log in via as if logged onto the windows machine, 
  someuser is your user id, 
  someserver is server hosting the share you're trying to access
  /path/to/data is the rest of the path to the location you want
Related Question