LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2013, 06:53 AM   #1
tapi
Member
 
Registered: Jan 2013
Posts: 55

Rep: Reputation: Disabled
Exclamation Automating Mounting With Linux SAMBA


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
Attached Files
File Type: txt smbpass.txt (42 Bytes, 11 views)
File Type: txt fstab.txt (693 Bytes, 11 views)

Last edited by tapi; 05-24-2013 at 07:00 AM.
 
Old 05-24-2013, 08:21 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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/
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in mounting samba share in linux machine jsaravana87 Linux - Server 5 10-03-2011 06:10 AM
Mounting Windows directories in Linux - SUSE - SAMBA pedroruiz Linux - Newbie 1 11-20-2009 11:23 PM
automating mounting of windows SMB shares Murdock1979 Linux - Networking 7 04-17-2006 04:22 PM
Mounting Samba shares under Linux xarli Linux - Software 3 10-31-2002 07:12 AM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration