Re: AR not selecting groups from User form after AREA login

2007-10-23 Thread Simon Kelly
Hi Julie and Axton,

Thanks for the help. Got the code working this morning.

Si

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Julie Rockwood
Sent: Wednesday, 24 October 2007 6:39
To: ARSList
Subject: Re: AR not selecting groups from User form after AREA login

Hi Simon,

Did you start with areasamp.c from the API?

Try:
(*response)->licenseMask  = 0;  //0 tells system to go to User form 
for all user info

Julie

At 10:01 PM 10/22/2007, you wrote:
>Hi,
>
>I am writing a simple AREA plugin that validates a user based on
>theIPof the Mid-Tier machine. The validation seems to be working ok,
>butthe user does not get giventhe groups correctly. I have filled in
>theresponse correctly based onthe instructions in the manuals...
>
>(*response)->groups = NULL;
>
>... which, according to the manual, tells Remedy to use the
>groupsinthe User form for this user name. This doesn't seem to be
>happening.Does anyone know if there are setting elsewhere that are
>requiredtotell Remedy that the groups need to come from the User
>form?
>
>Cheers
>
>Simon
>
>___

>UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
>ARSlist:"Where the Answers Are"


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


Re: AR not selecting groups from User form after AREA login

2007-10-23 Thread Julie Rockwood

Hi Simon,

Did you start with areasamp.c from the API?

Try:
(*response)->licenseMask  = 0;  //0 tells system to go to User form 
for all user info


Julie

At 10:01 PM 10/22/2007, you wrote:

Hi,

I am writing a simple AREA plugin that validates a user based on
theIPof the Mid-Tier machine. The validation seems to be working ok,
butthe user does not get giventhe groups correctly. I have filled in
theresponse correctly based onthe instructions in the manuals...

(*response)->groups = NULL;

... which, according to the manual, tells Remedy to use the
groupsinthe User form for this user name. This doesn't seem to be
happening.Does anyone know if there are setting elsewhere that are
requiredtotell Remedy that the groups need to come from the User
form?

Cheers

Simon

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
ARSlist:"Where the Answers Are"


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"


Re: AR not selecting groups from User form after AREA login

2007-10-23 Thread Axton
Look at the config parameter (ar.conf)
External-Authentication-Return-Data-Capabilities.

Axton Grams

On 10/23/07, sdk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am writing a simple AREA plugin that validates a user based on
> theIPof the Mid-Tier machine. The validation seems to be working ok,
> butthe user does not get giventhe groups correctly. I have filled in
> theresponse correctly based onthe instructions in the manuals...
>
> (*response)->groups = NULL;
>
> ... which, according to the manual, tells Remedy to use the
> groupsinthe User form for this user name. This doesn't seem to be
> happening.Does anyone know if there are setting elsewhere that are
> requiredtotell Remedy that the groups need to come from the User
> form?
>
> Cheers
>
> Simon
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
> Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


AR not selecting groups from User form after AREA login

2007-10-22 Thread sdk
Hi,

I am writing a simple AREA plugin that validates a user based on
theIPof the Mid-Tier machine. The validation seems to be working ok,
butthe user does not get giventhe groups correctly. I have filled in
theresponse correctly based onthe instructions in the manuals...

(*response)->groups = NULL;

... which, according to the manual, tells Remedy to use the
groupsinthe User form for this user name. This doesn't seem to be
happening.Does anyone know if there are setting elsewhere that are
requiredtotell Remedy that the groups need to come from the User
form?

Cheers

Simon

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"