You can use the "/opt/SUNWutref/amgh/utamghref_allkeys_script" that
supports "insert_token" key directly with out any modifications. In the
messages log file atleast an AMGH_SUMMRAY message would be there
and that gives some clues.
Thanks
P.S.M.Swamiji
Note:These are my personal opinions, nothing to do with my employer
Quayle, Bill wrote:
Greetings,
I'm having trouble getting AMGH working. I have created a simple text-based
back-end database for the token mapping. The entries in this map look like
this:
insert_token=Payflex.500ffcd500130100 username=billq host=sradm01a
insert_token=Payflex.500ffcd500130100 username=billq host=sradm02a
insert_token=Payflex.500ffcd500130100 username=billq host=sradm01c
insert_token=Payflex.500ffcd500130100 username=billq host=sradm02c
The script I use is based on utamghref_script, with the only changes being as
follows:
# diff utamghref_script /cme/sunray/bin/amgh_script
10c10
< DBFILE=/opt/SUNWutref/amgh/back_end_db
---
DBFILE=/cme/sunray/lib/back_end_db
17c17,18
< opt_all=$4 #Optional -- set to ALL if you need all matching lines.
---
opt_all=ALL
#opt_all=$4 #Optional -- set to ALL if you need all matching lines.
31c32
< get_keyval_pair token ${token} username
---
get_keyval_pair insert_token ${insert_token} username
35c36
< get_keyval_pair token ${token} host ALL
---
get_keyval_pair insert_token ${insert_token} host ALL
When I insert my token card into one of the DTU served by these servers, here's
what I get in the messages log:
Jun 3 09:21:15 srprops03c utauthd: [ID 368877 user.info] Worker7 NOTICE:
CLAIMED by StartSession.m5 NAME: user.1190053907-7053 PARAMETERS:
{terminalIPA=10.30.23.42, type=user, fw=GUI4.0_48_2007.08.01.15.48,
state=disconnected, cause=redirect, doamgh=true, barrierLevel=320,
rawId=500ffcd500130100, MTU=1500, tokenSet=Payflex.500ffcd500130100,
tokenSeq=2, firstServer=0a8f3a20, atr.hist_len=09, namespace=IEEE802,
ddcconfig=1, id=1190053907-7053,
clientRand=zA7PaSw.lIJEWa7lB3nkIgyjJvxR/dWdLi8P75c3/Vi, realIP=0a1e172a,
startRes=1280x1024:1280x1024, useReal=true, atr=3b6900002494010201000101a9,
event=insert, roamInitiated=false, pn=35909,atr.hs=04, sn=00144f6f6a35,
rawType=Payflex, hw=SunRayP8-270, initState=1, _=1}
Jun 3 09:21:15 srprops03c utauthd: [ID 412095 user.info] Worker7 NOTICE:
CONNECT IEEE802.00144f6f6a35, user.1190053907-7053, all connections allowed
I get a login on one of the local servers (srprops03c) rather than be
redirected to my home server FOG (sradm01a, etc...)
I tested the configuration of the script and database by passing my token info
to the script, as follows:
# echo "insert_token=Payflex.500ffcd500130100"|./amgh_script
username=billq
username=billq
username=billq
username=billq
host=sradm01a
host=sradm02a
host=sradm01c
host=sradm02c
I'm a bit stumped on how to proceed debugging this further and getting it
working.
I've followed the docs & blogs, and haven't really come up with any reason why
this isn't working.
Ideas, anyone?
Thanks in advance...
-Bill
_______________________________________________
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