So far all I've done is
/opt/SUNWut/sbin/utamghadm -s /opt/amgh/bin/amgh_script
That script dumps the parameters it is passed to a file in /tmp so I
know the script was called and what it was passed. It is not being
called when I insert a card.
Here is the script:
#!/bin/sh
echo "\n"`date` >>/tmp/amlog
# parse the args into shell vars
while read args
do
eval "$args"
echo "$args" >>/tmp/amlog
done
HOSTS=""
echo "username=$username" >>/tmp/amlog
if [ -n "$username" ];then
case $username in
toms)
HOSTS="host=sunray-servers.otherdomain.com" ;;
*)
HOSTS="use_firstserver=true" ;;
esac
fi
echo "$HOSTS"
exit 0
What I thought was, when I insert a smartcard this script will get
called and I can add more logic to use the token parameter passed in to
figure out where to send the user. Only that's not happening. Have I
missed something?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of P.S.M. Swamiji
Sent: Monday, July 09, 2007 2:33 AM
To: SunRay-Users mailing list
Subject: Re: [SunRay-Users] No "Mobile Session Login" for smartcards
On 7/7/07, Tom Stanley <[EMAIL PROTECTED]> wrote:
>> ... But when I insert a smartcard, I am immediately taken to a
>> standard all-blue Solaris login screen. It looks like an Exit
>> session. The AMGH script is not called at all since this is just a
>> local Solaris login screen.
>
Do you have the inserted smartcard configured for AMGH in back_end_db or
what ever AMGH config database you use?. If not, it will get the local
server dtlogin screen.
Thanks
P.S.M.Swamiji
Notes:These are my personal opinions,nothing to do with my employer
>> ...
>> Shouldn't I get a mobile login screen for my smartcards too? Or how
>> to I get my AMGH script to be called with a smartcard? Thanks.
>
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users