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!


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to