> > Anne Wilson wrote: > On Wednesday 14 May 2008 04:22:19 pm slamp slamp wrote: > > > Am I the only one having this issue? > > > > On Tue, May 13, 2008 at 11:58 AM, slamp slamp wrote: > > > > > I am having issues mounting windows 2003 share from Fedora 9 (upgrade) > > > that used to work with Fedora 8. > > > > > > This command works: > > > # mount.cifs //192.168.0.1/HomeDirs/useraccount /media/useraccount -o > > > username=useraccount,password=mypassword > > > > > > This does not work: > > > # mount.cifs //192.168.0.1/HomeDirs/useraccount /media/useraccount -o > > > credentials=/home/useraccount/samba_cred > > > mount error 13 = Permission denied > > > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > > > > > > Needless to say my fstab entry will not work which worked in Fedora 8: > > > //192.168.0.1/HomeDirs/useraccount /media/useraccount > > > cifs rw,credentials=/home/useraccount/samba_cred 0 0 > > > > > > > > > My credentials file, I made sure there are no whitespaces. > > > $ cat /home/useraccount/samba_cred > > > username=useraccount > > > password=mypassword > > > > > > > //192.168.0.40/anne /mnt/borg2_smbhome cifs > rw,user,credentials=/etc/samba/auth.borg2.anne 0 0 > > Not much difference from yours, but it does work with 'mount -a', so I'm > assuming that I'll be fine next bootup. No desktop link is made, though. My > credentials file contains the two lines you mention. I presume you have > checked for typos, etc.. If you mount from a root console do you get any > error message? > > Anne > > Anne I will confirm this problem. When running the mount command on my machine with the verbose parameter, the password always broke into a new line and then continued the mounted details: mount.cifs kernel mount options unc=//serverroot,ip=hidden,user=drew,pass=hidden ,ver=1,rw,noexec,nosuid,nodev,noauto,credentials=/root/login,uid=500,gid=500 Having never before ran the mount command with the verbose option, I figured this was normal, however after editing my credentials file with a hex editor as suggested to remove the trailing n, the command turned to this and mounted properly: mount.cifs kernel mount options unc=//serverroot,ip=hidden,user=drew,pass=hidden,ver=1,rw,noexec,nosuid,nodev,noauto,credentials=/root/login,uid=500,gid=500 This is run both as root and a normal user. With the first command, both showed the Permission Denied error, and with the second command, both succeeded. Drew -- This is an email sent via The Fedora Community Portal https://fcp.surfsite.org https://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=264705&topic_id=56359&forum=10#forumpost264705 If you think, this is spam, please report this to webmaster@xxxxxxxxxxxxxxxx and/or blame compnerd@xxxxxxxxxx -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list