[Samba] RE: Mount error 13

Tosh, Michael J michael.j.tosh at lmco.com
Wed Mar 26 16:10:23 GMT 2008


> 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


More information about the samba mailing list