Mounting Permanently SMB share
Hi Frndz
I am Just New to this forum and My Prob is Am able to mount windows share in Red hat-4 through SMB temporarily, but when I tried permanently through "/etc/fstab" It halts, The syntex I followed in fstab is # smbmount //200.200.2.143/Images(windows share) /wallpapers(Linux Share) -o username=admin,password=********* I used the above syntax but after reboot It halts. Help Me Frndz. Webby |
Hi,
you cannot execute smbmount from within fstab. Try this: SERVER_NAME:/SHAREN_NAME_ON_SERVER /LOCAL_MOUNT_POINT cifs username=USERNAME,password=PASSWORD 0 0 This should look like: 200.200.2.143:/Images /wallpapers cifs username=admin,password=********* 0 0 |
Hi,
you cannot execute smbmount from within fstab. Try this: Code:
SERVER_NAME:/SHAREN_NAME_ON_SERVER /LOCAL_MOUNT_POINT cifs username=USERNAME,password=PASSWORD 0 0 Code:
200.200.2.143:/Images /wallpapers cifs username=admin,password=********* 0 0 If you wish to prevent from username and password in fstab you can use: Code:
credentials=PATH_TO_FILE This file contains the following to lines: username=Argument password=Argument This file can be located in a secure place. |
All times are GMT -5. The time now is 03:34 AM. |