Public bug reported:

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 administrator@fqdm.domain
     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:
     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/pam-configs/my_mkhomedir:
                        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-greeter.conf
    - In KUbuntu: 40-lightdm-kde-greeter.conf
                        allow-guest=false
                        user-session=kde-plasma
                        greeter-show-remote-login=false
                        greeter-show-manual-login=true

* If using KUbuntu, edit /etc/lightdm/lightdm-kde-greeter.conf (not needed in 
Ubuntu)
    [greeter]
    theme-name=classic

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

** Affects: lightdm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1335622

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

Status in “lightdm” package in Ubuntu:
  New

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 administrator@fqdm.domain
       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:
       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/pam-configs/my_mkhomedir:
                        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-greeter.conf
      - In KUbuntu: 40-lightdm-kde-greeter.conf
                        allow-guest=false
                        user-session=kde-plasma
                        greeter-show-remote-login=false
                        greeter-show-manual-login=true

  * If using KUbuntu, edit /etc/lightdm/lightdm-kde-greeter.conf (not needed in 
Ubuntu)
      [greeter]
      theme-name=classic

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1335622/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to