LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-18-2009, 08:45 AM   #1
tgrzelak
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 //mymachine.mydomain.com/c /mnt1 -o credentials=/root/creds.txt

mount.cifs kernel mount options: unc=//mymachine.mydomain.com\c,ip=192.168.1.167,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 (e.g.man mount.cifs)

[root@my-MYDOMAIN cifs]# cat /root/creds.txt
username=MYDOMAIN/myuser
password=mypassword

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

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

Thanks for the help!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 AM.

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
Open Source Consulting | Domain Registration