LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mount smbfs vs cifs (https://www.linuxquestions.org/questions/linux-networking-3/mount-smbfs-vs-cifs-364661/)

Zurvan 09-18-2005 06:59 PM

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

jstn 12-29-2006 12:44 PM

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

No luck over here...

- j

acid_kewpie 12-29-2006 02:46 PM

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.


All times are GMT -5. The time now is 04:42 AM.