libpam-mount gdm shutdown reboot problem
I am running Debian Sarge (3.1) on an IBM Thinkpad R50 Laptop. I am mapping my university home directory (SMB) to a subfolder in my unix home directory with libpam-mount each time I log into my computer (GDM). When I log off, my university home directory gets automatically disconnected.
The weired problem I have is that shutting down and rebooting from the GDM welcome screen doesn't work when the libpam-mount module is enabled and "Login Screen Setup -> Security -> Secure Action Menu" is enabled. GDM restarts instead of shutting down or rebooting.
However, when disabling "Secure Action Menu" shutdown and reboot as an ordinary user works fine with libpam-mount enabled. Once logged in, shutdown and reboot within a Gnome session works also as expected.
# /etc/pam.d/common-account :
account required pam_unix.so
auth required pam_unix.so nullok_secure
auth optional pam_mount.so use_first_pass
session optional pam_mount.so use_first_pass
password required pam_unix.so nullok obscure min=4 max=8 md5
session required pam_unix.so
auth requisite pam_nologin.so
auth required pam_env.so
session required pam_limits.so
Any suggestions are welcome.