os x accessing a linux share

lilbandit

I hate Meath
I'm having a bas%?#@ of a time attempting to configure a linux samba share point so that my os x powerbook can access it. I have a very simple crossover cable network between my linux box and laptop. I can ping from one to the other but I can't get samba working properly. Having wrestled with swat for days, I get the following message when I use connect to server: THE REMOTE SERVER REJECTED THE CONNECTION.

It's probably a simple configuration mistake in samba.

The linux box is called DOUGAL, in the domain FATHERTED. The workgroup is called workgroup. The shared folder is under the username lilbandit and the path is /home/lilbandit/share. The mac is simply called mac.
I have been attempting to mount the share with the url:
smb://WORKGROUP;lilbandit@DOUGAL/home/lilbandit/share

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2002/11/03 16:31:45

# Global parameters
[global]
netbios name = DOUGAL
server string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = mac dougal
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j

[/home/lilbandit]
comment = OS X shared files
path = /home/netlogon
valid users = lilbandit, steve, MAC, LOCALHOST
writeable = Yes
guest ok = Yes
hosts allow = mac dougal localhost

Any help appreciated in advance!
 
Try connecting to smb://(your linux box ip)/home/lilbandit/share

I find that connecting via IP's is much more reliable in OS X.

BTW, I think the correct full connection string would be
smb://WORKGROUP;DOUGAL/home/lilbandit/share
(ie. without the username). OS X asks for the username when you connect to the share.
 
i think there might be a problem in ur linux box samba config, have u enabled a guest or any other account to use samba. i believe u have to use smbpasswd. use man pages to find out how, it might be smbpasswd -a user. hope this helps
 
Back
Top