Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-18-2009, 08:45 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
SAMBA and Mount Credentials File No Longer Working

Running RHEL5
After patching samba last night to version (3.0.33-3.15.el5_4) scripts that mount cifs filesystems no longer work when using a credentials file. However if the username and password are submitted within the command line, all works well. Any ideas if there are any changes that would cause this behavior. The details are below:

[root@my-MYDOMAIN cifs]# mount -v -t cifs // /mnt1 -o credentials=/root/creds.txt

mount.cifs kernel mount options: unc=//\c,ip=,user=myuser,,,,,domain=MYDOMAIN,ver=1,rw,credentials=/root/creds.txt,pass=********
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page ( mount.cifs)

[root@my-MYDOMAIN cifs]# cat /root/creds.txt

[root@my-MYDOMAIN cifs]# mount -v -t cifs // /mnt1 -o user=MYDOMAIN/myuser%mypassword

mount.cifs kernel mount options: unc=//\c,ip=,domain=MYDOMAIN,ver=1,rw,user=myuser,,,,,,,,,,,,,,,pass=** ******

Thanks for the help!


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
mount.cifs credentials=/path-to-passwd-file not parsing xxx_anuj_xxx Linux - Server 1 11-10-2009 03:44 AM
Samba no longer working lukeleia3 Linux - Networking 3 02-21-2005 01:31 PM
Samba Large File Transfor aborts - The specified network name is no longer available rjesse Linux - Networking 3 01-26-2005 12:37 AM
Samba: Cannot open Credentials file on startup paul.nel Linux - Networking 2 11-23-2004 12:06 PM
how to make a credentials file for samba Moses420ca Linux - Newbie 0 08-28-2003 11:50 AM > Forums > Linux Forums > Linux - Software

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

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