LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-07-2006, 02:39 PM   #1
idk666
Member
 
Registered: Aug 2005
Posts: 39

Rep: Reputation: 15
Connecting to SMBFS/CIFS from FC5


I am trying to mount a remote disk on FC5 (kernel 2.6.16-1.2122). Previously in FC3 I used the following in /etc/fstab and it mounted fine:

<machine_name> <mount_point> smbfs workgroup=workgroup,username=user,password=pass,gid=500,uid=500 0 0

However on FC5 I get the error:

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I tried mounting manually with the mount -t command to no avail...

Having read some other threads etc. I tried cifs as the filesystem instead of smb but this didn't work. I 've seen a ton of posts where this works for people, unfortunately not me. Unless I am missing something...

Any help would be greatly appreciated.

Thanks !
 
Old 06-07-2006, 04:57 PM   #2
idk666
Member
 
Registered: Aug 2005
Posts: 39

Original Poster
Rep: Reputation: 15
Ok, so if I do (and several variations of, eg. minus 'workgroup' and 'ids') I can mount using "mount -a" (as sudo or root) from the fstab line:

<machine_name> <mount_point> cifs credentials=/root/.smbcredentials,dmask=0777,fmask=0777,workgroup=workgroup,gid=500,uid=500 0 0

where /root/.smbcredentials is a file:

username=username
password=password

HOWEVER, I STILL can't automount from boot. During boot I get the message:

"error 13 opening credentials file"

!?!?!?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount smbfs vs cifs Zurvan Linux - Networking 2 12-29-2006 02:46 PM
"fc5" mount does not recognize "smbfs" file system? bdplays Linux - Networking 6 06-28-2006 11:21 AM
connecting to mySQL server running on FC5 dessonville50 Fedora 4 05-09-2006 06:00 AM
Cifs AlessPT Linux - Networking 3 11-30-2004 02:11 PM
using CIFS witukind Linux - Networking 0 12-18-2003 05:31 PM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration