- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Mounting cifs via fstab
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 09:09 AM
тАО11-04-2009 09:09 AM
Mounting cifs via fstab
System = RHEL 5.4 Tikanga
I am able to perform the following command from the command line successfully
mount -t cifs //server/user /home/user/windows -o username=user,password=pass
However when I try to mount using fstab it fails
I have a /home/user/.creds file that includes
username=user
password=pass
And the following line has been added to /etc/fstab
//server/user /home/user/windows cifs credentials=/home/user/.creds,_netdev,soft 0 0
I receive the following error message
mount error 13 = Permission denied
I have also tried adding domain=domain to the .creds file but it still fails, can anybody show some light please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 01:04 PM
тАО11-04-2009 01:04 PM
Re: Mounting cifs via fstab
Has this system joined the domain?
If not, that could explain these issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 08:06 PM
тАО11-04-2009 08:06 PM
Re: Mounting cifs via fstab
Did you try this with selinux off.
i suggest you to try this fstab entry with plain text username and password and see if it works so we can go to next level
Good Luck...
NJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 12:50 AM
тАО11-05-2009 12:50 AM
Re: Mounting cifs via fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 09:22 AM
тАО11-05-2009 09:22 AM
Re: Mounting cifs via fstab
I can mount it using the fstab with the following line
//server/user /home/user/windows cifs user=user,password=pass,_netdev,soft 0 0
However when I use the line below it still fails
//server/user /home/user/windows cifs credentials=/home/user/.creds,_netdev,soft 0 0
The user owns /home/user/.creds
But I still recieve mount error 13 = Permission denied, any more ideas out there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 07:29 PM
тАО11-05-2009 07:29 PM
Re: Mounting cifs via fstab
did you try this with root account's username and password. This seems to me a pure rights issue.
Good Luck...!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 01:16 AM
тАО11-19-2009 01:16 AM
Re: Mounting cifs via fstab
I was able to resolve the issue by just deleting the file and recreating it. Is it a known bug in the latest version of the samba client for x86_64 where the credentials file is not parsed corectly. If you use a hex editor you will be able to see an extra character before the last character in the password.
Hope this helps somebody else