No the bug is not that the shared is not accessible, it is that the
homedir is incomplete. For example .bashrc will not be in the homedir of
the new user (and any other files in /etc/skel), but the directories in
/etc/skel will be correctly copied.
Thanks for your attention.
Virginie
Le 27/10/2023 à 19:33, Mitchell Dzurick a écrit :
> Hi Virginie, I tried to reproduce this in an LXD vm
>
> $ lxc launch ubuntu:jammy j --vm
> $ lxc shell j
> # apt install -y sssd-ad sssd-tools realmd adcli
> # pam-auth-update --enable mkhomedir
> # sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
> # apt install -y lib_pam_mount
>
> Now add
> <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" />
>
> Under <!-- Volume definitions --> in /etc/security/pam_mount.conf.xml
>
> # adduser mitch
> # su mitch
> $ ls ~/
> shared
>
>
> I see the shared folder in my test, is your issue that you don't see the shared folder?
>
> ** Changed in: libpam-mount (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: pam (Ubuntu)
> Status: New => Incomplete
>
Hi
No the bug is not that the shared is not accessible, it is that the
homedir is incomplete. For example .bashrc will not be in the homedir of
the new user (and any other files in /etc/skel), but the directories in
/etc/skel will be correctly copied.
Thanks for your attention.
Virginie
Le 27/10/2023 à 19:33, Mitchell Dzurick a écrit : archive. ubuntu. com/ubuntu $(lsb_release -sc) main universe restricted multiverse" to_shared" mountpoint= "/home/ %(DOMAIN_ USER)/Shared" user="*" options= "username= %(USER) ,user=% (USER), domain= domaine. local,iocharset =utf8" /> pam_mount. conf.xml
> Hi Virginie, I tried to reproduce this in an LXD vm
>
> $ lxc launch ubuntu:jammy j --vm
> $ lxc shell j
> # apt install -y sssd-ad sssd-tools realmd adcli
> # pam-auth-update --enable mkhomedir
> # sudo add-apt-repository "deb http://
> # apt install -y lib_pam_mount
>
> Now add
> <volume fstype="cifs" server="fileserver" path="path_
>
> Under <!-- Volume definitions --> in /etc/security/
>
> # adduser mitch
> # su mitch
> $ ls ~/
> shared
>
>
> I see the shared folder in my test, is your issue that you don't see the shared folder?
>
> ** Changed in: libpam-mount (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: pam (Ubuntu)
> Status: New => Incomplete
>