Re: Fedora 9 + CIFS issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



there is a bug while calling the credential file, the credential actually ended with a dot even you already remove the last newline.

try this:
yum install ghex (to install)
su - (as root)

ghex2 /your/path/credential-file

you will see something at below

username=user.password=yourpassword. <- this is the dot (0A) is the value.
remove the last dot you will be able to connect. cheers!!!

the dot between user is the separator. do mess anything on that, leave it.


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


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux