desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #31065
[Bug 870874] Re: LDAP user with automounted nfs homedir cannot login
I can confirm this on two machines. The command in the above post
contains a typo, the command below is the one at which the login process
hangs:
`gsettings get org.gnome.desktop.interface toolkit-accessibility'
According to `ps aux' the process is in state `Sl'. When I kill that
single process (no need to do a killall like I mentioned in the previous
post) the login process continues and the user logs in nicely. Logging
in with a local account always works fine. Logging in with LDAP
authentication and Autofs mounted homedirs causes always a hang on this
process.
I tried running the same command from the command line after being
logged in with both a local account and an ldap authenticated account.
In both cases it returns `false'.
--
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/870874
Title:
LDAP user with automounted nfs homedir cannot login
Status in “lightdm” package in Ubuntu:
New
Bug description:
After installing Ubuntu (Oneiric, development branch) I followed two
guides to setup LDAP authentication and automounting of home
directories using autofs-ldap. This setup was working properly for
older Ubuntu releases (just to be sure I also tried with a fresh, up
to date 11.04 installation).
The following steps were executed to setup LDAP authentication:
https://help.ubuntu.com/11.04/serverguide/C/openldap-server.html (section: LDAP Authentication)
These steps were executed to setup Autofs-ldap:
https://help.ubuntu.com/community/AutofsLDAP
LDAP users properly login from the terminal (Ctrl-Alt-F1), in that
case they can browse their automounted homedirs etc.
When I try to login using LightDM the user seems to be logged in
properly; the login widget disappears from the screen but other than
that nothing is happening (the login screen background is still
visible, but the login widget is gone). I still can move the mouse
pointer but the user is not logged on. When taking a look at the
user's .xsession-errors file there is not much to see, nothing that
seems worrying to me. I can't find anything that obviously looks like
an error in /var/log/*.
I tried several things:
- removed all files/directories starting with a . (dot) in the user's home directory
- using LightDM and the default Ubuntu window manager
- using LightDM with Gnome
- using GDM with Gnome
In all cases the same behavior was observed.
Logging in with a local user works like a charm.
This is what /var/log/lightdm/lightdm.log says:
[+2.83s] DEBUG: Read 8 bytes from greeter
[+2.83s] DEBUG: Read 15 bytes from greeter
[+2.83s] DEBUG: Greeter start authentication for test_user
[+2.83s] DEBUG: pam_authenticate(0x169e340, 0) -> 10 (User not known to the underlying authentication module)
[+2.83s] DEBUG: pam_start("lightdm", "test_user") -> (0x7f1ae4011570, 0)
[+2.85s] DEBUG: Prompt greeter with 1 message(s)
[+2.85s] DEBUG: Wrote 45 bytes to greeter
[+16.20s] DEBUG: Read 8 bytes from greeter
[+16.20s] DEBUG: Read 16 bytes from greeter
[+16.20s] DEBUG: Continue authentication
[+16.22s] DEBUG: pam_authenticate(0x7f1ae4011570, 0) -> 0 (Success)
[+16.22s] DEBUG: pam_acct_mgmt(0x7f1ae4011570, 0) -> 0 (Success)
[+16.22s] DEBUG: Authenticate result for user test_user: Success
[+16.22s] DEBUG: User test_user authorized
[+16.22s] DEBUG: Wrote 27 bytes to greeter
[+16.24s] DEBUG: Read 8 bytes from greeter
[+16.24s] DEBUG: Read 15 bytes from greeter
[+16.24s] DEBUG: Greeter requests session gnome-shell
[+16.25s] DEBUG: Stopping greeter
[+16.25s] DEBUG: Dropping privileges to uid 104
[+16.25s] DEBUG: Removing session authority from /var/lib/lightdm/.Xauthority
[+16.28s] DEBUG: Restoring privileges
[+16.28s] DEBUG: Sending signal 15 to process 7950
[+16.28s] DEBUG: Process 7950 exited with return value 0
[+16.28s] DEBUG: pam_close_session(0x167f300) -> 0 (Success)
[+16.28s] DEBUG: pam_setcred(0x167f300, PAM_DELETE_CRED) -> 0 (Success)
[+16.28s] DEBUG: pam_end(0x167f300) -> 0
[+16.28s] DEBUG: Ending ConsoleKit session 6e3a694924188906d4093c6702696be1-1318095483.743254-1770205889
[+16.31s] DEBUG: Greeter quit
[+16.31s] DEBUG: Starting user session
[+16.38s] DEBUG: Dropping privileges to uid 1049
[+16.38s] DEBUG: Writing /srv/home/test_user/.dmrc
[+17.48s] DEBUG: Restoring privileges
[+17.51s] DEBUG: Starting session gnome-shell as user test_user logging to /srv/home/test_user/.xsession-errors
[+17.51s] DEBUG: Launching session
[+17.51s] DEBUG: pam_set_item(0x7f1ae4011570, 3, ":0") -> 0 (Success)
[+17.55s] DEBUG: pam_open_session(0x7f1ae4011570, 0) -> 0 (Success)
[+17.58s] DEBUG: Opened ConsoleKit session 6e3a694924188906d4093c6702696be1-1318095500.694488-13642418
[+17.58s] DEBUG: Dropping privileges to uid 1049
[+17.58s] DEBUG: Adding session authority to /srv/home/test_user/.Xauthority
[+17.82s] DEBUG: Restoring privileges
[+17.82s] DEBUG: Launching process 8053: /usr/sbin/lightdm-session 'gnome-session --session=gnome'
[+17.82s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+17.92s] DEBUG: pam_setcred(0x7f1ae4011570, PAM_ESTABLISH_CRED) -> 0 (Success)
[+17.92s] DEBUG: PAM returns environment 'GNOME_KEYRING_CONTROL=/tmp/keyring-6wgIZV GNOME_KEYRING_PID=8044 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8'
The user's .xsession_errors:
Running X session wrapper
Loading profile from /etc/profile
Loading resource: /etc/X11/Xresources/x11-common
Loading X session script /etc/X11/Xsession.d/20x11-common_process-args
Loading X session script /etc/X11/Xsession.d/30x11-common_xresources
Loading X session script /etc/X11/Xsession.d/40x11-common_xsessionrc
Loading X session script /etc/X11/Xsession.d/50_check_unity_support
Loading X session script /etc/X11/Xsession.d/50x11-common_determine-startup
Loading X session script /etc/X11/Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules
Loading X session script /etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules
Loading X session script /etc/X11/Xsession.d/55gnome-session_gnomerc
Loading X session script /etc/X11/Xsession.d/60x11-common_localhost
Loading X session script /etc/X11/Xsession.d/60x11-common_xdg_path
Loading X session script /etc/X11/Xsession.d/60xdg-user-dirs-update
Loading X session script /etc/X11/Xsession.d/65compiz_profile-on-session
Loading X session script /etc/X11/Xsession.d/70gconfd_path-on-session
Loading X session script /etc/X11/Xsession.d/75dbus_dbus-launch
Loading X session script /etc/X11/Xsession.d/80appmenu
Loading X session script /etc/X11/Xsession.d/80appmenu-gtk3
Loading X session script /etc/X11/Xsession.d/80im-switch
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
Loading X session script /etc/X11/Xsession.d/90consolekit
Loading X session script /etc/X11/Xsession.d/90qt-a11y
((EOF, thats all))
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 1.0.1-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Sat Oct 8 19:40:24 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/870874/+subscriptions
References