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