LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-22-2015, 03:09 PM   #1
Jeep16
LQ Newbie
 
Registered: Dec 2015
Location: Canada
Distribution: CentOS
Posts: 3

Rep: Reputation: Disabled
Question Mounting a Windows Server 2012 R2 Cluster Shared Volume share results in Access Denied


I have created a Windows Server 2012R2 Failover Cluster with a CSV volume. The shares in the Scale Out File Server are accessible from Windows 8.1 PCs, Mac OSX machines, but not from my CentOS 7 (7.1 and 7.2) machines.

I have Kerberos authentication working from the CentOS machines but I keep getting a Status_Access_Denied (Code 0x22) response to the ComTreeConnectAndx Path request. I have even opened up the permissions on the SoFS role to allow everyone and anonymous.

Has anyone got/seen this working? I have searched for days and am getting weary.

Thanks!
 
Old 12-30-2015, 10:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Hello and Welcome to LQ.

At first glance I'd guess port's not open.
 
Old 01-01-2016, 10:15 AM   #3
Jeep16
LQ Newbie
 
Registered: Dec 2015
Location: Canada
Distribution: CentOS
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the Welcome!

Eventually got this working; quite frustrating really, but it was a simple (although should have been unnecessary) fix.

To get the mount.cifs to work with the cluster you have to specify vers=3.0 or vers=3.02 in the mount options. This causes the packet request to windows to use SMB2TreeConnect; without vers=3.0, SMB_COM_TREE_CONNECT_ANDX was sent and rejected by the Windows server.

Hopefully this post is helpful to the next person trying to do this.
 
Old 01-06-2016, 02:17 PM   #4
Jeep16
LQ Newbie
 
Registered: Dec 2015
Location: Canada
Distribution: CentOS
Posts: 3

Original Poster
Rep: Reputation: Disabled
Another helpful note on this issue: We found that just using mount or fstab would result in the share connection dropping (more so that an standard windows server share.) We ended up using autofs which I had read about, but I wanted a persistent connection and it says that it will unmount after a timeout.

However the autofs will always reconnect the drive (quickly) on demand.
I am writing this note to emphasise that autofs is the best solution despite the unmount timeout.
 
  


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
[SOLVED] mount.nfs: access denied by server while mounting S0phist Linux - Networking 4 08-25-2015 12:00 AM
[SOLVED] Mounting Windows 2012 Geocluster CIFS Volume dcarrington Linux - Enterprise 1 01-20-2015 03:58 PM
[SOLVED] NFS access denied by server while mounting Lumify Linux - Server 21 11-17-2013 09:07 AM
Windows 7 -Samba Share-Network Access denied fizeelinux Linux - Newbie 2 02-10-2010 03:29 AM
Access denied when printing from a Windows machine to a shared Linux printer linuxlimbo SUSE / openSUSE 1 11-26-2008 04:07 AM

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

All times are GMT -5. The time now is 07:31 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
Open Source Consulting | Domain Registration