Fedora 9 + CIFS issue

nicholas Yau nicholasykp at gmail.com
Tue May 20 10:36:53 UTC 2008


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
> 




More information about the fedora-list mailing list