[RADIATOR] Accessing a reply attribute from one authby in a subsequent authby
Bob Shafer
bshafer at du.edu
Thu Jun 30 11:23:48 CDT 2011
Heikki,
Thanks, that worked. Its a prototype so ugly is okay for now.
If it works out, we'll be grabbing the info from ldap or a db.
Got another problem. The external process can take a bit of time, and
radiator is timing out before it can complete, and returning an Ignore
after about 15 seconds. No way around the time it takes, so I'm
wondering if/how the timeout can be increased?
Thanks,
Bob
On 6/29/11 10:58 AM, Heikki Vatiainen wrote:
> On 06/29/2011 05:49 PM, Bob Shafer wrote:
>
> Hello Bob,
>
>> I would like to do something like this:
>>
>> <AuthBy GROUP>
>> AuthByPolicy ContinueWhileAccept
>> <AuthBy FILE>
>> Filename %D/access-users
>> </AuthBy>
>> <AuthBy EXTERNAL>
>> Command %D/scripts/otherauth %T
>> </Authby>
>> </AuthBy>
>>
>> where the file access-users contains entries like this:
>>
>>
>> fred Class = Vendor
>> Callback-Number = 1234567890
>> jane Class = User
>>
>> I'd like to pass the reply attributes from the AuthBy File to the AuthBy
>> EXTERNAL script.
>>
>> I'm pretty sure there must be a way to do that, but I haven't figured it
>> out yet.
>
> Here's a quick (ugly?) way to do it:
> Add<AuthBy INTERNAL> between the two AuthBys. The INTERNAL would have a
> small inline RequestHook that adds Callback-Number from the reply to the
> request.
>
> Thanks!
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5998 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.open.com.au/pipermail/radiator/attachments/20110630/36e6f847/attachment.bin
More information about the radiator
mailing list