On Fri, May 12, 2017 at 12:11:28PM +0200, tuxderlinuxfuch...@gmail.com wrote: > The directory didn't exist
Then I guess that the process doesn't has the needed permissions during the session phase anymore. Please try to replace pam_mkhomedir by pam_oddjob_mkhomedir. This will try to create the directory via oddjobd which runs with higher privileges. HTH bye, Sumit > > > On 12-May-17 11:48 AM, Sumit Bose wrote: > > On Fri, May 12, 2017 at 11:25:04AM +0200, tuxderlinuxfuch...@gmail.com > > wrote: > >> Thanks! > >> > >> I followed this manual: > >> https://help.ubuntu.com/lts/serverguide/sssd-ad.html#sssd-ad-mkhomedir > >> > >> added the line > >> > >> session required pam_mkhomedir.so skel=/etc/skel/ umask=0022 > >> > >> to the file /etc/pam.d/common-session (find attached) > >> > >> > > Have you checked if /home/vmuser1 exists and has the right permissions > > so that the user can create files in the directory? > > > > bye, > > Sumit > > > > -- > Manage your subscription for the Freeipa-users mailing list: > https://www.redhat.com/mailman/listinfo/freeipa-users > Go to http://freeipa.org for more info on the project -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project