- Subject: Re: Fedora 9 + CIFS issue
- From: nerddtvg <no-reply-gw@xxxxxxxxxxxxxxxx>
- Date: Sat, 17 May 2008 21:17:28 +0200
- In-reply-to: <200805171053.55237.cannewilson@xxxxxxxxxxxxxx>
- Reply-to: compnerd@xxxxxxxxx, For users of Fedora <fedora-list@xxxxxxxxxx>
>
> 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
[Older Fedora Users Mail]
[Home]
[Fedora News]
[Fedora Advisory Board]
[Fedora Security]
[Fedora Robotics]
[Fedora Maintainers]
[Fedora Infrastructure]
[Fedora Websites]
[Anaconda Devel]
[Fedora Devel Java]
[Fedora Legacy]
[Fedora Desktop]
[Fedora Fonts]
[iPod Nano]
[ATA RAID]
[Fedora Bible]
[Fedora Marketing]
[Fedora Management Tools]
[Fedora Mentors]
[Fedora Package Announce]
[Free Dating Site]
[Fedora Package Review]
[Fedora PHP Devel]
[Kickstart]
[Fedora Music]
[Fedora Packaging]
[Centos]
[Fedora SELinux]
[Fedora Legal]
[Fedora Kernel]
[Fedora QA]
[Fedora Triage]
[Fedora OCaml]
[Coolkey]
[ET Management Tools]
[Yum Users]
[Tux]
[Big List of Linux Books]
[Yosemite News]
[Yosemite Photos]
[Linux Apps]
[Maemo Users]
[KDE Users]
[Fedora Tools]
[Fedora Art]
[Fedora Docs]
[Asterisk PBX]
[Fedora Sparc]
[Fedora Universal Network Connector]
[Fedora ARM]
[Fedora 8 and Red Hat Enterprise Linux Bible]