LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Automating Mounting With Linux SAMBA (https://www.linuxquestions.org/questions/linux-newbie-8/automating-mounting-with-linux-samba-4175463292/)

tapi 05-24-2013 06:53 AM

Automating Mounting With Linux SAMBA
 
2 Attachment(s)
Hie guys i am trying to mount a windows shared directory into RHEL 5.3 i have configured sftab with the necessary information. I have created smbpass.txt containing credentials of domain user and password. When i try to run the following command

mount -t cifs -o username=username,password=somepassword //machine_name/lpn /mtn/lpn

i receive this error

mount error 13 = Permission denied

lleb 05-24-2013 08:21 AM

if you are in a domain, you will also need to add that as one of the options to your mount command.

http://www.cyberciti.biz/faq/linux-m...windows-share/


All times are GMT -5. The time now is 02:20 PM.