Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to connect to a web server running on Linux CentOS 5.5 where I've shared a folder. I'm trying to connect to the directory with Snow Leopart 10.6.4 client without success.

On CentOS I've started the Samba service and a Samba user with his password and then I've tried to connect to the server with the command smb:// to reach the IP of the machine and then writing the username and password I've previously created.

The server returns me the list of the shared folders with the leopard specific browser, when I click to the folder I want the browser returns this error (translated from Italian):

Leopard message:

Connection failed
There was an error on connecting to "smb://". Please verify the name or the IP of the server, and try again.

How can I do to solve the connection problem?

share|improve this question

If you're trying to mount a folder shared ON your Mac... to your CentOS box... you don't need the samba server... just the client package. Simply make sure your Mac has the folder shared using samba... and on your centos box do the following:

mount -t cifs -o username=someuser,password=somepassword //mac-ip/sharename /whereevever/you/want 

If you're trying to go the other way around, I'm sorry... I just don't know very much about Macs. I know there are samba packages available... and the commands should be the same.

According to the error you got, it appears that no smb type connection could be made to that IP. Do you have a firewall running? You probably need to poke holes in it to allow connectivity.

share|improve this answer
Sorry, I haven't been too much clear, I'm trying to connect with Leopard to a shared folder of CentOS machine via Samba. I think it's something on smb.conf file but I'm not sure, because the problem is started with the Leopard 10.6.4 version. I don't know how I can fix it – vitto Sep 3 '10 at 17:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.