Why cifs can't see the windows share file?
I am learning how to mount folder, shared by remote windows, to CentOS5. I am remotely loggin the CentOS with ssh, in windows side, the ip address is dynamics. The shared folder is specify with UNC //user-KB2312/myshare
I try Code:
smbclient -L user-KB2312 if I use ip address instead, it shows session request to x.y.w.z failed (Called name not present) session request to 10 failed (Called name not present) session request to *SMBSERVER failed (Not listening on called name) and if I use mount.cifs as Code:
mount.cifs -o username="jay",password="p412" //x.y.w.z/myshare /mnt Code:
mount.cifs -o username="jay",password="p4123" //user-KB2312/myshare /mnt Mounting the DFS root for domain not implemented yet No ip address specified and hostname not found I wonder how to make it work? Since the ip is changing all the time, how can I use VNC instead? Someone said if it fail to use cifs, I can try smb instead. But in CentOS5, I only find the sever tools, but didn't see smbmount!!! |
This may not be any good but I thought that it would be worth a try if you've run out of ideas. This is how I connect to a Windows Server share using CIFS, which is similar to your example but slightly different.
mount -t cifs //server/c$ /mnt/server -o username=domain/user Don't specify a password and it will ask you for one. Make sure they are all forward slashes. |
Is samba running and if so is it configured correctly?
|
Quote:
|
Quote:
mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) |
All times are GMT -5. The time now is 06:33 PM. |