Can't connect to Ubuntu SMB from Mac

Asked by Iain Houston

Running Dapper

on linux system:
added new user
added new user's network and username to /etc/samba/smbusers
gave new user an smbpasswd
created folder and gave it an SMB share name

On Mac:
Can see linux box on Network
Try to Connect:
See share name; try to Authenticate using network; username; smbpasswd OR Windows network login
But in either ase:
Mac OS X complains that 'the alias <linux box> could not be opened, because the original item cannot be found'

Any clues what I'm doing wrong?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Iain Houston
Solved:
Last query:
Last reply:
Revision history for this message
Markus Thielmann (thielmann) said :
#1

Thanks for your question.

Did you try to mount that share with another Linux or Windows PC?

If that work, you might find http://www.macwindows.com/panther.html quite interessting. If you search the page for "Broken aliases to SMB Win Server" you'll find Mac users with the same problem and a few workarounds.

Revision history for this message
Best Iain Houston (iainhouston) said :
#2

Thanks Markus,
I'm not sure exactly what I did but it seems to work now.
I just kept on going around and around - eventually changing some lines in the smb configuration file according to WVH's "Ubuntu Bible' book's chapter on SMB. Although not obvious to be why gthese made it work .. it does now.
If anybody's interested in the exact configuration values I will be happy to provide.

Revision history for this message
gustavc (gustavc) said :
#3

Hi,

I´d love se your configuration values since i´m having the same problems but do not own a copy of the ubuntu bible

Revision history for this message
Iain Houston (iainhouston) said :
#4

Hope this helps!
(just look at the uncommented lines and check them with your smb.conf)
Iain.

On 16 May 2007, at 15:33, gustavc wrote:

> Your question #6364 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/6364
>
> gustavc posted a new comment:
> Hi,
>
> I´d love se your configuration values since i´m having the same
> problems
> but do not own a copy of the ubuntu bible

Revision history for this message
Iain Houston (iainhouston) said :
#5

I replied to your email with smb.conf attached ... if this doesn't reach you I will reply here as best I can

Revision history for this message
Iain Houston (iainhouston) said :
#6

I think the relevant entries were in [global] section of smb.conf where I uncommented and edited as follows:
workgroup=<my actual workroup name>
wins support=no
dns proxy=yes
name resolve order = lmhosts host wins bcast

<p>
and then in the [shared] section
path = /home/<my shared name>
available = yes
browsable = yes
public = yes
writable = yes

Hope this helps!

Revision history for this message
yawarchasca (yawarchasca) said :
#7

Hi There
I have the same problem, yet none of those solutions seem to be working for my problem.
I did try the suggestions from the Phanter page but that didn't help either.
 i suspect it is the configuration in the Ubuntu-SMB i just don't know enough to figure it out,
any ideas?
Thanks

Revision history for this message
yawarchasca (yawarchasca) said :
#8

Just to add more info,
it looks like it should be ok because when i goto the network connection (within Ubuntu) i can see my mac and my Linux systems. if i go to the linux system i can see my shared folder but if i go to the mac, there is nothing.

Revision history for this message
Iain Houston (iainhouston) said :
#9

Any joy yet yawarchasca?
I assume you can see your Ubuntu system on the Networks page of Finder?
Then what happens when you double click the Ubuntu system? Should get asked which share you want to connect to.

Revision history for this message
Iain Houston (iainhouston) said :
#10

And you did install the Samba server package did you?
Unbuntu Feisty comes with Samba client already enabled but you need also to use Synaptic package manager to obtain smb server capability. I think, though, when you use Shared Folders Administration and you choose Windows Samba sharing that you will be prompted to add Samba server.