Lightdm does not use /etc/skel when authenticating against Active Directory in KUbuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When authenticating against an Active Directory using PowerBroker open (former likewise) and lightdm, /etc/skel is not copied in KUbuntu, but there is no problen in Ubuntu, even following the same steps.
This is happening in KUbuntu, but not in Ubuntu, so I suppose the bug is due to some configuration files in it.
Steps to reproduce:
* Install KUbuntu
* Install samba, cifs-utils, smbclient, ssh
* Install PowerBroker open
* Edit "/etc/samba/
* Join the domain:
sudo domainjoin-cli join fqdn.domain <email address hidden>
sudo /opt/pbis/
sudo /opt/pbis/
sudo /opt/pbis/
* Edit /usr/share/
sufficient pam_lsass.so
to:
[success=ok default=ignore] pam_lsass.so
* Edit /etc/nsswitch.conf and change:
hosts: files mdns4_minimal [NOTFOUND=return] dns
to:
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
* sudo /opt/pbis/bin/lwsm restart lwio
* Create the file /usr/share/
Name: activate mkhomedir
Default: yes
Priority: 900
Session-Type: Additional
Session:
required pam_mkhomedir.so umask=0022 skel=/etc/skel
* sudo pam-auth-update
* Edit the lightdm greeter config to allow manual login:
- In Ubuntu: 50-unity-
- In KUbuntu: 40-lightdm-
allow-
user-
greeter-
greeter-
* If using KUbuntu, edit /etc/lightdm/
[greeter]
theme-
* Create some contents in /etc/skel
* Reboot
* Login with an AD user.
If Ubuntu is used, /etc/skel files are copied to the user profile for the domain users, whether GUI or console login is used. If the distro is KUbuntu, the files are copied for console logins, but not with GUI.
Status changed to 'Confirmed' because the bug affects multiple users.