[Samba] Mac OS X user having problems connecting to samba running on Ubuntu Server

Amit More amore at xetus.com
Thu Mar 17 19:51:57 MDT 2011


Hello all,


I have installed samba version 3.3.2 on Ubuntu 9.04 server 32-bit
following the documentation
https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html


Windows and Ubuntu users can see and mount the shares with no problem at
all. 

Mac OS 10.6.x users can connect to samba from terminal using smbclient,
but they are refused connection when they try to connect via finder (ie
using apple + k). The error Mac users get is “wrong username or
password”. However, they can connect via finder only when they prefix
the username with any domain name. They can pass any arbitrary domain
name before the username to connect to the samba share. 


To be more clear here is an example

smb://server.domain.com/File_share
username: arbitrary-domain-name\username


Also, Mac OS X users having problem connecting to samba running on
Ubuntu server are able to mount the shares from Windows Server 2003 via
finder.


I have set the following parameters in my /etc/samba/smb.conf file

workgroup = WORKGROUP 

server string = %h server (Samba, Ubuntu)

dns proxy = no

security = user

encrypt passwords = true

passdb backend = tdbsam

obey pam restrictions = yes

passwd program = /usr/bin/passwd %u

passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*
\spassword:* %n\n *password\supdated\ssuccessfully* .

map to guest = bad user

usershare allow guests = yes

[share]

comment = Ubuntu File Server Share

path = /srv/samba/share

browsable = yes

guest ok = no

read only = no

create mask = 0755



Things that I have tried:

     1. Adding public = yes in share
        
     2. Setting encryption = false
        

I am new to samba and have been doing research for a long time to get
this working. Is there any workaround for the problem that I am facing.
I would appreciate all your help.


Thanks in advance,

Amit More




More information about the samba mailing list