LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2018, 01:21 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,351

Rep: Reputation: Disabled
Post Mount error(13): Permission denied


Hello.
I'm using CentOS 7 x86_64 and when I want to mount Windows share then I got "mount error(13): Permission denied". I did below command:
Code:
$ sudo mount.cifs //IP/Documents/ /mnt -o user=DOMAIN\\jason,domain=domain.com,sec=ntlm
Password for DOMAIN\jason@//IP/Documents/:  ************
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
And:
Code:
$ smbclient -L //IP -U DOMAIN\\jason
Enter DOMAIN\jason's password: 
Domain=[DOMAIN] OS=[Windows Server 2008 R2 Datacenter 7601 Service Pack 1] Server=[Windows Server 2008 R2 Datacenter 6.1]

	Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      Remote Admin
	BackUp$         Disk      
	C$              Disk      Default share
	D$              Disk      Default share
	E$              Disk      Default share
	F$              Disk      Default share
	H$              Disk      Default share
	Internet Reports Disk      
	IPC$            IPC       Remote IPC
	Documents    Disk
And log is:
Code:
$ sudo tail /var/log/messages
Dec  7 09:33:57 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Dec  7 09:33:57 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
Dec  7 09:34:13 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Dec  7 09:34:13 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Dec  7 09:34:13 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
Dec  7 09:34:45 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Dec  7 09:34:45 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Dec  7 09:34:45 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
Dec  7 09:36:06 localhost kernel: CIFS VFS: Server does not support signing!
Dec  7 09:36:06 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -524
I used "sudo mount -t cifs" too and got the same error.
Any idea?

Thank you.
 
Old 12-07-2018, 02:10 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,610

Rep: Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496Reputation: 3496
https://askubuntu.com/questions/4040...and-sec-ntlmv2

try to specify version
(and also try to search answers on the net)
 
Old 12-07-2018, 02:45 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,351

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
https://askubuntu.com/questions/4040...and-sec-ntlmv2

try to specify version
(and also try to search answers on the net)
I added "vers=3.0" but got the same error.
 
Old 12-07-2018, 02:54 AM   #4
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,228

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by pan64 View Post
(and also try to search answers on the net)
I second that. You (hack3rcon) have several error messages in the log file. Search for them, find search results that fit your configuration. Since we don't know your configuration, we can't do it.

On face value, though, NT_STATUS_LOGON_FAILURE says that you provide incorrect authentication details.

By the way, the authentication parameters you provide when mounting are different from the parameters when using smbclient. Could that be a clue?

Last edited by berndbausch; 12-07-2018 at 02:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount NFS error - mount.nfs: mount(2): Permission denied ndtatlive SUSE / openSUSE 1 09-20-2018 11:46 PM
Mount error 13:permission denied while trying to mount Buffalo NAS to RHEL grendle65 Linux - Newbie 4 05-06-2013 06:39 PM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 03:48 PM
Permission denied error when trying to mount image contained in sshfs mount openSauce Linux - General 2 03-08-2009 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration