Autologin stops working after reboot or micasa daemon restart

  • 7015170
  • 11-Jun-2014
  • 12-Jun-2014

Environment

Novell Client for SUSE Linux Enterprise Desktop 11
SLED 11 SP3
OES11 SP1

Situation

ncl_autologin works until restart of micasa daemon or reboot of the machine.
Casa credentials are lost after reboot or micasa daemon restart.
Upgrade to CASA version 1.7.1637 does not resolve the issue.

Resolution

Prerequisites:

1. Verify that CASA is running by executing
ps aux | grep casa
A process "/usr/bin/micasad-init" should be running with argument "/usr/bin/micasad.exe".
2. Verify that /etc/profile.d/novell-ncl-autologin.sh exists
3. Verify that $HOME/.novell/ncl/StartupLogin.conf exists
4. Verify that $HOME/.config/autostart/ncl_autologin.desktop exists
Run "ncl_autologin" from a terminal. Check if the tree,server,user,context details are populated and if password field is being populated.


For local users, the following configuration is required.

1. Enable the setting of the PAM module for NCL autologin. This is done by examining the /etc/pam.d/gdm configuration file, and ensuring that the following line is not commented:
auth     required    pam_micasa.so

2.The line "auth required pam_micasa.so" should come after "auth include common-auth"


For LUM users, the following configuration is required

In /etc/pam.d/{login,sshd,xdm,gdm,kdm}

1.Replace "auth sufficient pam_nam.so" with the following lines:
auth [success=1 new_authtok_reqd=1 default=ignore] pam_nam.so
auth [default=1] pam_permit.so
auth [default=done] pam_micasa.so

Additional Information

Note that autologin is disabled for the root user.