Fedora 9 + CIFS issue

woodson2 mlstarling31 at hotmail.com
Sun May 18 00:07:36 UTC 2008


I was having the same issue, the problem is how Fedora 9 parses the
credentials file...What you need to to is open the credentials file in a HEX
editor and remove the extra entry at the end of the file..



Anne Wilson-4 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 <slackamp at gmail.com> 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
> 
>  
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 

-- 
View this message in context: http://www.nabble.com/Fedora-9-%2B-CIFS-issue-tp17212101p17297834.html
Sent from the Fedora List mailing list archive at Nabble.com.




More information about the fedora-list mailing list