Hello. I'm having some issues mounting a Samba share with CentOS. The server running Samba is Ubuntu 8.04 and that seems to be functioning fine.
I have an IPCop box and the CentOS 5 machine is in the Orange Zone, the box running Samba (my NAS) is in the Green zone. I have opened the DMZ pinholes for rsync and smb there and I know that's working as I can get from another Ubuntu box through to the NAS using the same exact command. I am attempting to use
mount -t cifs -o username=(username),password=(password) //(IP address)/(share name) /mnt
as root on the CentOS 5 machine but it takes a very long time and then gives me
mount error 110 = Connection timed out
I can issue that exact command from a Ubuntu machine in the Orange zone and it mounts without hesitation. I can get to my NAS with any Windows box. All of them using the same username and password. I will say that I've restarted Samba on the NAS and also rebooted the NAS. I will also say that the command DID work at least once as I was using this within a script and the script created a backup file, which it was supposed to do, but then I noticed it failed the next time it tried to run, obviously due to the mount error. If anyone has any insights, please let me know.
Another person on another forum had me run /sbin/modinfo cifs which output the following:
description: VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
author: Steve French <email@example.com>
vermagic: 2.6.18-128.1.6.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1
parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int)
parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int)
parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int)
parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)
That thread has gone cold and I really need a fix ASAP for this as it is on a production mail server. Thanks in advance for any insights...