Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-30-2016, 07:55 AM   #1
LQ Newbie
Registered: Jan 2016
Posts: 6

Rep: Reputation: 0
mounting a user's home folder through pam mount who authenticated through AD has permission denied

I have a CentOS 7 machine that can properly authenticate and log in an AD user but, although their home directory is mounted through PAM_mount, the user gets the following errors when they log in:

(mount.c:341): mkdir \home\domain failed: Permission denied
(pam_mount.c:522): mount of \\\folder failed

The file server on which the home folders reside is a Windows server.

I'm trying to get more information on how to fix the issue and any help would be appreciated.
Old 01-31-2016, 03:21 AM   #2
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
What does /var/log/secure say about it?

Did you check SElinux?
1 members found this post helpful.
Old 02-07-2016, 04:49 PM   #3
LQ Newbie
Registered: Jan 2016
Posts: 6

Original Poster
Rep: Reputation: 0
Originally Posted by MrTux View Post
What does /var/log/secure say about it?

Did you check SElinux?

thanks for your suggestion. I did and it was the problem.



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] FAILED to authorize user with PAM (Permission denied) newbie14 Linux - Security 30 08-04-2017 08:36 AM
EasyTag permission denied to home folder andy_o Linux - Software 5 01-10-2013 06:48 PM
[SOLVED] 'Could not chdir to home directory /home/[user]: Permission denied' arashi256 Linux - Newbie 25 11-11-2011 10:29 AM
chdir to home folder: permission denied when I use ssh zarzor_2010 Linux - Newbie 2 09-13-2010 02:07 PM
Cannot mount NFS folder: permission denied chris24300 Linux - Newbie 10 10-15-2009 08:26 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:52 PM.

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