Red Hat Bugzilla – Bug 1256259
during the logon to system can not automount share folder
Last modified: 2015-08-27 07:53:16 EDT
Created attachment 1066251 [details]
/etc/pam.d/system-auth-ac and /etc/security/pam_mount.conf.xml
Description of problem:
I have the network with domain controller windows 2008 r2 (dс, ip-10.2.13.1). On it there is the share folder \\DC\Documents.
I have some computers with systems RFRemix 15 and RFRemix 20.1 in my network.
When I log on to the computer with the network user a_malkov (for example) is mounting the network folder \\DC\Documents.
I installed new Fedora 22 (KDE Plasma Workspase). I set up the authorization in the domainand automount share folders same as on other computers (RFRemix 15 and RFRemix 20.1).
At now, when I log on to the Fedora 22 - nothing happens. I'm logged in the system with the network user a_malkov, share folder \\DC\Documents is not automount.
But I can mount share folder in console Fedora 22:
$ su a_malkov
What's the problem?
Steps to Reproduce:
1. install krb5-workstation, samba, samba-winbind and config the authorization in the domainand
2. install hxtools, pam_mount and config it
3. setup share folder on windows computer //host/share
Not mount share folder //host/share!
Created attachment 1067143 [details]
Thank you all for your help!
The problem is solved.
In the Ferora 22 it is necessary to make a record about pam_mount not /etc/pam.d/system-auth-ac, but in /etc/pam.d/password-auth-ac
auth required pam_mount.so
auth required pam_env.so
session optional pam_winbind.so
session optional pam_mount.so
Share folder mounted!