David Markey wrote:
I'm using use_firstserver=true to make my DTU's go back to their first
Sunray server after the user has logged out of any other sunray server.

I've noticed that AMGH seems to only be fired off when the user enters
their username into dtlogin, i.e. if a user logs in to dtlogin and then
logs out, AMGH wont redirect the DTU back to their first server until
the user has entered their username into dtlogin.

Is there any way to change this behavior so that as soon as the user
logs out of their session, AMGH is fired off, instead of the user having
to enter their username before being redirected?

Actually this should work without having to enter a username.
Is this in an NSCM or smartcard environment?

For smartcards, look at the dtlogin/gdm PAM stacks, for NSCM, look at the utgulogin PAM stack. You'll see that pam_sunray_amgh comes both before *and* after sunray_get_user prompt, which is where the username is acquired.

You should find an AMGH_SUMMARY line in /var/opt/SUNWut/log/messages for every pass through pam_sunray_amgh. Do you see it for the pre-prompt pass? (log out of a session, then from a different rlogin/ssh/SRSS session look at the last AMGH_SUMMARY line in the log for that MAC address). What does it report?

-Bob

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to