Samba config and Mac OS X mounting

freebsdmac-osxsamba

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here.

I'm trying to mount one of my Samba shares in Mac OS X, but haven't had any luck yet. I'm able to mount the same share as a networkdrive in Windows XP.

I have tried to mount it in various ways, CMD+K in finder and the following command in terminal mount_smbfs ⁄⁄dev_domain_tld@192.168.1.54/homes /Users/philip/share

The output of that command is just the help thingy, i have tried many possible combinations

usage: mount_smbfs [-Nh] [-d mode] [-f mode]
               //[domain;][user[:password]@]server[/share] path

Samba config on FreeBSD:

[global]
workgroup = domi
hosts allow = 192.168.0.0/255.255.0.0
server string = Webserver
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote announce = 192.168.1.2
local master = no
wins server = 192.168.1.2
dns proxy = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/nologin
winbind use default domain = no

[homes]
comment = Home Directories
valid users = %S
writable = yes
browsable = yes

[web]
path = /home/web
read only = no
writeable = yes
browsable = no
valid users = myadminusername

Best Answer

Maybe try to add a line netbios name = webserver to the [global] section and try your commands again with webserver instead of the IP address for the server name.

What string did you use in your attempt to connect via finder? What should work is smb://philip@192.168.1.54/homes or whatever your username on FreeBSD is instead of philip. What error message did you get there?

Also, you can configure your WINS server in the Advanced tab of the network preferences. This could help as well.