Connect to Samba from Vista

Issues related to configuring your network
Post Reply
dnuttall
Posts: 20
Joined: 2005/03/16 11:11:07
Location: San Antonio, Texas

Connect to Samba from Vista

Post by dnuttall » 2007/11/29 10:36:16

I've spent far too much time trying to connect to a CentOS5 host using Samba from a Vista workstation.

What USED TO WORK in the "olden times" no longer works due to Vista, not necessarily Samba!

The trick now is to set up Samba on CentOS/Linux as per traditional method(s) but on the Vista side no matter what you have in your DNS and/or "hosts" file, you apparently MUST use the IP address instead of the DNS/hosts name assigned.

So for example, my CentOS host is named "centos" and can be pinged from Vista.

When I mount shared partitions/directories, I have to use:

\\192.168.0.200\my_shared_directory

when in a prior instance this would have worked:

\\centos\my_shared_directory

This posting on Tech Republic helped me:
http://techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=203099&messageID=2117523

HTHU!

Dave Nuttall
San Antonio, Texas

SoftDux
Posts: 35
Joined: 2007/10/27 12:07:26
Location: Johannesburg, South Africa
Contact:

Re: Connect to Samba from Vista

Post by SoftDux » 2008/02/20 14:17:08

that article refers to CFIS & kerberos, not Samba. I use 'old-school' Samba in a Vista environment and it works without a problem.

Do you have nmbd running?

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Re: Connect to Samba from Vista

Post by NedSlider » 2008/02/20 14:50:28

[quote]
dnuttall wrote:


The trick now is to set up Samba on CentOS/Linux as per traditional method(s) but on the Vista side no matter what you have in your DNS and/or "hosts" file, you apparently MUST use the IP address instead of the DNS/hosts name assigned.

So for example, my CentOS host is named "centos" and can be pinged from Vista.

When I mount shared partitions/directories, I have to use:

\\192.168.0.200\my_shared_directory

when in a prior instance this would have worked:

\\centos\my_shared_directory

[/quote]

You may need to enable the Network Discovery Service on Vista - I believe it's disabled by default. After that, Vista should be able to find services by name, not just IP address.

Hope that helps.

Post Reply