Comment 2 for bug 138395

Revision history for this message
Christian Roessner (christian-roessner-net) wrote :

Fixed.

Because I use Samba+LDAP, I had to change all the /etc/pam.d/common-* files. Unfortunately the common-session needs pam_foreground.so

Now it looks like this:

#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive). The default is pam_unix.
#

session required pam_limits.so
session required pam_unix.so
#Creates the home directories if they do not exist
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
session optional pam_ldap.so
session optional pam_foreground.so