CIFS Share Mount Error

2

I have a samba share on my Fedora 13 machine. The problem is that on my system if I try to mount the share it failed every time, on all other windows and Linux machines there is no problem.

I used the following command to mount the share:

mount -t cifs //192.168.1.200/myconfig /tmp/ -o guest

share configurations in /etc/samba/smb.conf are:

[myconfig]
 comment = Configuration Files
 path = /var/lib/config
 browseable = yes
 guest ok = yes
 writable = no
 printable = no

security level in /etc/samba/smb.conf is:

security = share

error returned by mount command is:

mount error(110): Connection timed out

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

kernel log message is:

kernel: CIFS VFS: Error connecting to
socket. Aborting operation

kernel: CIFS VFS: cifs_mount failed
w/return code = -110

what is the issue?

Any idea/suggestion?

MA1

Posted 2010-09-29T16:23:37.613

Reputation: 1 049

Answers

1

Connection timed out

means that connection to the CIFS service on 192.168.1.200 failed.

Make sure that you have smbd running, and that it is listening for TCP port 445 on the apropriate interfaces (use netstat -ltn | grep :445).

user1686

Posted 2010-09-29T16:23:37.613

Reputation: 283 655

mount -t cifs //192.168.1.200/myconfig /tmp/ -o guest works perfectly on all other linux and windows systems except on the system( 192.168.1.200) which contains the shared folder – MA1 – 2010-09-30T13:44:15.217

True, on lots of machines, the smb.conf is present, yet samba itself is not. – BloodPhilia – 2010-09-30T13:44:29.850

0

Do you have a hosts allow line in smb.conf that allows a local connection as well as a LAN one - eg:

hosts allow = 127. 192.168.1.

Linker3000

Posted 2010-09-29T16:23:37.613

Reputation: 25 670

no – MA1 – 2010-09-30T14:22:38.040

Ok, try adding one either in the global section (mine's below the 'workgroup = ' line) or as part of your [myconfig] definition block – Linker3000 – 2010-09-30T14:32:43.820