likewise open and pam_mount don't copy /etc/skel

Bug #992101 reported by David Burke on 2012-04-30
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libpam-mount (Ubuntu)
Undecided
Unassigned

Bug Description

Install likewise-open and join a domain
install libpam-mount and set up a share to mount
Modify common-session so likewise open and pam mount work together (see bug https://bugs.launchpad.net/ubuntu/+source/likewise-open5/+bug/552001)

Log in as a new user from the domain (but who does not yet have a home on the local machine)
pam_mount will mount the share, but everything in /etc/skel isn't copied over.

To prove pam_mount is the issue edit common-session and remove the reference to pam_mount

Log in as a new user and we can see files in /etc/skel are copied over. Of course now we have no shares.

In a typical user creation the files are copied right away and this issue is avoided. By when logging into a domain the user is created at first login. I am unsure if this happens only to likewise open or to any login mechanism that creates the home folder on the fly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libpam-mount 2.10-2build1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Mon Apr 30 13:57:43 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libpam-mount
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.security.pam.mount.conf.xml: 2012-04-30T11:41:59.609591

David Burke (bufke) wrote :
Launchpad Janitor (janitor) wrote :

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

Changed in libpam-mount (Ubuntu):
status: New → Confirmed
David Burke (bufke) wrote :

This bug seems to be fixed. I am now able to use likewise-open, pam_mount, and have the home folder created.

Blagovest Petrov (eniac-bg) wrote :

I have the same problem with libpam_ldap and libpam_mount

David Burke (bufke) wrote :

I was actually just playing around with this again recently. Can you try adding this make home pam module?

https://help.ubuntu.com/community/LDAPClientAuthentication#Automatically_create_home_folders

I suspect this is actually what fixed it for me. It's odd the is needed though. I don't understand the behavior of copying /etc/skel by default but then not copying it when adding a remote authentication module.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers