LinuxQuestions.org
Help answer threads with 0 replies.
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


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

Rep: Reputation: 15
mount smbfs vs cifs


Hello,

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;

Code:
//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;
Code:
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;
Code:
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 (e.g.man mount.cifs)
and the log shows this;
Code:
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;
Code:
username=someuser
password=this-is-a//password
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
jstn
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
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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

Tags
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration