Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


Closed Thread
  Search this Thread
Old 09-18-2005, 06:59 PM   #1
LQ Newbie
Registered: Sep 2004
Location: Boston
Distribution: debian, solaris, fedora
Posts: 25

Rep: Reputation: 15
mount smbfs vs cifs


I am trying to get a samba share on a debian box running samba version 3.0.14a-Debian to be mounted on my new fedora core 4 box. I have a fedora core 3 box already connected to the debian box with the following command;

//rabi-en-rose/120_gig_drive /media/rabi-en-rose        smbfs  pamconsole,exec,_netdev,users,rw,iocharset=utf8,uid=500,gid=500,fmask=775,dmask=775,credentials=/root/smb.pass 0 0
when I try to do the same command in fedora core 4, I get the following;
6580: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
So, I thought, well, why not use this nifty cifs that folks have been talking about and see if I can get anywhere with that. So I setup the command in core 4 and I get this;
mount -t cifs //rabi-en-rose/120_gig_drive /media/rabi -o rw,uid=500,gid=500,file_mode=0775,dir_mode=0775,credentials=/root/smb,setuids=0775
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page ( mount.cifs)
and the log shows this;
kernel:  CIFS VFS: Send error in SessSetup = -13
kernel:  CIFS VFS: cifs_mount failed w/return code = -13
Now, from what I have read, the is an issue with white spaces in the credentials file, but the credentials file has no spaces, and looks like this;
I think that the slashes in the password are what is killing the cifs, becuse if I use another users password and username then cifs will mount file. The issue is that I can't be that user and need to keep the current password that I have. Anyone have any idea as to why the samba mount keeps dieing or why cifs can't have a / in the password field?

Thank you for you help,
-- Zurvan
Old 12-29-2006, 12:44 PM   #2
LQ Newbie
Registered: Apr 2003
Location: boston, ma.
Distribution: Gentoo/Freebsd
Posts: 6

Rep: Reputation: 0
I'm having the same problem. I'd try escaping the /s in the password maybe?

No luck over here...

- j
Old 12-29-2006, 02:46 PM   #3
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
please don't drag up dead threads, no one touched this for a year and now people will probably try to fix his problem (and not yours) long after it's irrelevant.

Closed Thread

cifs, mount, mountcifs, samba, smb

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
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
Mount CIFS partition as user: Invalid or missing username paco36 Linux - General 2 07-04-2005 12:31 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 11:43 AM
cannot mount smbfs flipboi Linux - Security 2 08-12-2004 09:18 AM
mount -t smbfs loganwva Linux - Networking 1 10-21-2003 11:02 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:13 PM.

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