Step to reproduce the bug
*install realmd: sudo apt install sssd-ad sssd-tools realmd adcli
*join a domain: sudo realm join domaine.local -U adminuser
*enable mkhomedir: sudo pam-auth-update --enable mkhomedir
*install pam_mount: sudo apt install lib_pam_mount
*create a directory for the user to link the share: sudo mkdir /etc/skel/Shared/
*configure pam_mount to automount the shared directory into /home/$USER/Shared, this part depend of the configuration of the shared directory:
add in /etc/security/pam_mount.conf.xml after <!-- Volume definitions -->
<volume fstype="cifs" server="fileserver" path="path_to_shared" mountpoint="/home/%(DOMAIN_USER)/Shared" user="*" options="username=%(USER),user=%(USER),domain=domaine.local,iocharset=utf8" />
*have a new user log into the machine: the new homedirectory is missing part of the /etc/skel
Hi
I use Ubuntu 22.04.3 LTS
libpam- systemd/ jammy-updates 249.11-0ubuntu3.11 amd64 modules/ jammy-updates, jammy-security, now 1.4.0-11ubuntu2.3 amd64 mount/jammy, now 2.18-2build2 amd64
libpam-
libpam-
The documentation is the whitepaper from https:/ /ubuntu. com/engage/ microsoft- active- directory
Step to reproduce the bug pam_mount. conf.xml after <!-- Volume definitions --> to_shared" mountpoint= "/home/ %(DOMAIN_ USER)/Shared" user="*" options= "username= %(USER) ,user=% (USER), domain= domaine. local,iocharset =utf8" />
*install realmd: sudo apt install sssd-ad sssd-tools realmd adcli
*join a domain: sudo realm join domaine.local -U adminuser
*enable mkhomedir: sudo pam-auth-update --enable mkhomedir
*install pam_mount: sudo apt install lib_pam_mount
*create a directory for the user to link the share: sudo mkdir /etc/skel/Shared/
*configure pam_mount to automount the shared directory into /home/$USER/Shared, this part depend of the configuration of the shared directory:
add in /etc/security/
<volume fstype="cifs" server="fileserver" path="path_
*have a new user log into the machine: the new homedirectory is missing part of the /etc/skel