[Samba] RE: Mount error 13

Tosh, Michael J michael.j.tosh at lmco.com
Wed Mar 26 18:18:24 GMT 2008


Guenter Kukkukk wrote:
> Am Mittwoch, 26. März 2008 schrieb Tosh, Michael J:
> > > More information on my problem: (with text this time)
> > > 
> > linuxserver:/var/log # date;mount -v -t cifs //server/share
> > /mnt/share -o credentials=.cifs_creds Wed Mar 26 12:03:38 EST 2008
> > parsing options: rw,credentials=.cifs_creds
> > 
> > Domain W2K3ADDOMAIN
> > 
> > 
> > mount.cifs kernel mount options
> > unc=//server\share,ip=10.x.x.x,user=remoteuser,domain=W2K3ADDOMAIN,pass=
> > remotepass,ver=1,rw,credentials=/root/.cifs_creds
> > mount error 13 = Permission denied
> > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> > 
> > linuxserver:/var/log # grep "Mar 26 12:03" messages warn
> > messages:Mar 26 12:03:08 proto2 kernel: CIFS: Unknown mount option
> > credentials messages:Mar 26 12:03:08 proto2 kernel:  CIFS VFS:
> > cifs_mount failed w/return code = -13 messages:Mar 26 12:03:39
> > proto2 kernel: CIFS: Unknown mount option credentials messages:Mar
> > 26 12:03:39 proto2 kernel:  CIFS VFS: cifs_mount failed w/return
> > code = -13 warn:Mar 26 12:03:08 proto2 kernel: CIFS: Unknown mount
> > option credentials warn:Mar 26 12:03:08 proto2 kernel:  CIFS VFS:
> > cifs_mount failed w/return code = -13 warn:Mar 26 12:03:39 proto2
> > kernel: CIFS: Unknown mount option credentials warn:Mar 26 12:03:39
> > proto2 kernel:  CIFS VFS: cifs_mount failed w/return code = -13  
> > 
> > # smbclient -V
> > Version 3.0.28-0.1.95-1624-SUSE-SLES9
> > 
> > > _____________________________________________
> > > From: 	Tosh, Michael J
> > > Sent:	Wednesday, March 26, 2008 11:36 AM
> > > To:	'samba at lists.samba.org'
> > > Subject:	Mount error 13
> > > 
> > > I am trying to connect a SLES9 server to a share on a Windows
> > > 2003 domain. 
> > > 
> > > # mount -t cifs //server/share /mnt/share -o
> > > credentials=.cifs_creds mount error 13 = Permission denied
> > > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> > > 
> > > #cat .cifs_creds
> > > username=remoteuser
> > > password=remotepass
> > > domain=W2K3ADDOMAIN
> > > 
> > > 
> > > On the domain controller, I see:
> > > Successful Network Logon:
> > >  	User Name:	remoteuser
> > >  	Domain:		W2K3ADDOMAIN
> > >  	Logon ID:		(0x0,0x20544132)
> > >  	Logon Type:	3
> > >  	Logon Process:	NtLmSsp
> > >  	Authentication Package:	NTLM
> > >  	Workstation Name:	\\10.x.x.x (IP of linux box)
> > >  	Logon GUID:	-
> > >  	Caller User Name:	-
> > >  	Caller Domain:	-
> > >  	Caller Logon ID:	-
> > >  	Caller Process ID: -
> > >  	Transited Services: -
> > >  	Source Network Address:	10.x.x.x (IP of linux box)  	Source
> > > Port:	0 
> > > 
> > > Then immediately after I see:
> > > User Logoff:
> > >  	User Name:	remoteuser
> > >  	Domain:		W2K3ADDOMAIN
> > >  	Logon ID:		(0x0,0x20544132)
> > >  	Logon Type:	3
> 
> You need to install the cifs userland helpers mount.cifs and
> umount.cifs, part of the samba client package (distro dependent).
> The credentials file - and other stuff - is parsed in userland, before
> being passed to the cifs kernel module.
> Cheers, Günter

I do have mount.cifs installed.
mount.cifs version: 1.10-3.0.28-0.1.95-1624-SUSE-SLES9


More information about the samba mailing list