Lightdm does not use /etc/skel when authenticating against Active Directory in KUbuntu

Bug #1335622 reported by Jorge García
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)

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/smb.conf" to match your domain (workgroup = yourdomain) and restart samba

* Join the domain:
     sudo domainjoin-cli join fqdn.domain <email address hidden>
     sudo /opt/pbis/bin/config AssumeDefaultDomain true
     sudo /opt/pbis/bin/config UserDomainPrefix domain
     sudo /opt/pbis/bin/config LoginShellTemplate /bin/bash

* Edit /usr/share/pam-configs/pbis and change:
    [success=ok default=ignore]

* Edit /etc/nsswitch.conf and change:
    hosts: files mdns4_minimal [NOTFOUND=return] dns
    hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4

* sudo /opt/pbis/bin/lwsm restart lwio

* Create the file /usr/share/pam-configs/my_mkhomedir:
   Name: activate mkhomedir
   Default: yes
   Priority: 900
   Session-Type: Additional
     required umask=0022 skel=/etc/skel

* sudo pam-auth-update

* Edit the lightdm greeter config to allow manual login:
    - In Ubuntu: 50-unity-greeter.conf
    - In KUbuntu: 40-lightdm-kde-greeter.conf

* If using KUbuntu, edit /etc/lightdm/lightdm-kde-greeter.conf (not needed in Ubuntu)

* 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers