William,

I didn't see that you needed to enter username for that to happen but it makes 
sense I guess.
So, if I want the switch to happen on card insert then I need to do it via the 
token rather than username ?

Thanks for the help.  I really appreciate it.

Scott

>Right now it looks like your file is only setup to redirect on specific
>usernames.  That means the AMGH switch will take place after you enter your
>username.  If a username not in your file is entered, then you stay on the
>FOG you were already in.

>William

>> -----Original Message-----
>> From: [email protected] [mailto:sunray-users-
>> [email protected]] On Behalf Of Scott L Riggen
>> Sent: Thursday, February 04, 2010 6:27 PM
>> To: [email protected]
>> Subject: [SunRay-Users] Having issues configuring amgh
>> 
>> William,
>> 
>> I loaded the same tokens on all 4 machines per your comment below.
>> 
>> The 1 sunray I have up is seems to be pointed at the qa server.
>> If I put in the qa card I get a login :)
>> 
>> However, when I put in the regular user card I also get a login on the qa
>> server.  I'd expect to get pushed to the reghost if I had stuff setup
>> correctly.
>> 
>> Thanks for the help so far.
>> 
>> Scott
>> 
>> >>AMGH processing is triggered by the dtlogin-SunRay PAM stack, so only
>> valid
>> >>tokens that start a session can trigger AMGH to occur.  Make sure that
>> _all_
>> >>of your FOGs know about _all_ of your cards, even if the card you are
>> using
>> >>is meant to redirect to another FOG.
>> 
>> >>William Yang
>> 
>> >>>> -----Original Message-----
>> >>>> From: [email protected] [mailto:sunray-users-
>> >>>> [email protected]] On Behalf Of Scott L Riggen
>> >>>> Sent: Thursday, February 04, 2010 2:20 PM
>> >>>> To: [email protected]
>> >>>> Subject: [SunRay-Users] Having issues configuring amgh
>> >>>>
>> >>>> Hi all,
>> >>>>
>> >>>> I don't know if my original email went through since I don't see it in
>> the
>> >>>> archives for February.  Maybe I was the lame-o that sent it in html by
>> >>>> accident.
>> >>>>
>> >>>> Anyway.....
>> >>>>
>> >>>> I am trying to setup a new test environment so I can test out the new
>> >>>> sunray software with amgh turned on.
>> >>>>
>> >>>> I have 4 machines in the following setup
>> >>>>
>> >>>> 2 machines in 1 FOG (used for regular users)
>> >>>> 1 machine in FOG (used for special users)
>> >>>> 1 machine in FOG (used for qa users)
>> >>>>
>> >>>> My production setup when I deploy will have 2 machines in each of these
>> >>>> FOG.
>> >>>>
>> >>>> I setup amgh like this.
>> >>>>
>> >>>> /opt/SUNWut/sbin/utamghadm -l
>> >>>> /opt/SUNWutref/amgh/lib/libutamghref_username.so
>> >>>>
>> >>>> I created the back_end_db file in /opt/SUNWutref/amgh on all 4 servers.
>> >>>> Right now I only have 2 entries in it.
>> >>>>
>> >>>> username=reguser1 host=reghost1 host=reghost2
>> >>>> username=qauser1 host=qahost1
>> >>>>
>> >>>> The sunrays are getting dhcp via an ISC dhcp server and we have DNS
>> >>>> entries for all 4 sunray servers so when the sunray boots it can
>> connect
>> >>>> to any of the 4.
>> >>>>
>> >>>> What I want is when I put in any card that it puts the user onto
>> machines
>> >>>> in that FOG.
>> >>>>
>> >>>> For utpolicy I have it set that only valid cards can get a session an
>> no
>> >>>> kiosk or guest mode allowed.
>> >>>> # Current Policy:
>> >>>> -a -r card -g
>> >>>>
>> >>>> What I am seeing now is that when I put in a qa card if the sunray is
>> >>>> connected to a regular server I get the lock icon and it does not
>> switch
>> >>>> me to a qa server.
>> >>>>
>> >>>> Today on our Solaris 9 sunray software 3 install we accomplish this via
>> >>>> Xsetup script that does a match from NIS and runs a utswitch.
>> >>>>
>> >>>> Any help would be appreciated.
>> >>>>
>> >>>> Regards,
>> >>>>
>> >>>> Scott
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to