[Samba] RE: Mount error 13
Guenter Kukkukk
linux at kukkukk.com
Wed Mar 26 17:56:18 GMT 2008
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
More information about the samba
mailing list