Connecting RHEL 3 to Windows 2003 Share?
Hello,
I am attempting to connect RHEL3 to a Windows Server 2003 Shared drive. I am able to mount the shared drive, however when I run ls to view the drive I receive the error: Stale NFS File Handle Steps I have taken so far: mount //server-name/S /mnt/share, mount is ok same error as above #smbmount // server-name/S /mnt/share, mount is ok same error as above # mount -t smbfs -o username=<name>,password=pw //netboisname/sharename /mountpoint When typing the above (with the correct username and password inserted) I am getting this on the screen: and the mount is not successful. Usage: mount -V : print version mount -h : print this help mount : list mounted filesystems mount -l : idem, including volume labels So far the informational part. Next the mounting. The command is `mount [-t fstype] something somewhere'. Details found in /etc/fstab may be omitted. mount -a [-t|-O] ... : mount all stuff from /etc/fstab mount device : mount device at the known place mount directory : mount known device here mount -t type dev dir : ordinary mount command Note that one does not really mount a device, one mounts a filesystem (of the given type) found on the device. One can also mount an already visible directory tree elsewhere: mount --bind olddir newdir or move a subtree: mount --move olddir newdir A device can be given by name, say /dev/hda1 or /dev/cdrom, or by label, using -L label or by uuid, using -U uuid . Other options: [-nfFrsvw] [-o options]. For many more details, say man 8 mount .[/SIZE][/SIZE] Lastly I have gone into the Windows 2003 server under the Default Domain policy, Security, Local policy settings, and disabled Network – Digitally sign communications, and digitally sign communication if the client agrees Any ideas would be appreciated, Thank you |
Hi,
Try cifs instead of smbfs, as follows:- Code:
mount -t cifs -o username=<name>,password=pw //netboisname/sharename /mountpoint Code:
//netboisname/sharename /mountpoint cifs _netdev,credentials=/etc/samba/cred.txt 0 0 Code:
username=your_name |
All times are GMT -5. The time now is 06:22 AM. |