howto define Auth-Type in perl script?

Markus Krause krause at biochem.mpg.de
Sun Mar 18 20:49:08 CET 2007


Zitat von Tomas Hoger <tomas.hoger at gmail.com>:

> On 3/18/07, Markus Krause <krause at biochem.mpg.de> wrote:
>> i am writing a perl script to authorize and authenticate users.
>> authorization works (so the script itself works and seems to be used
>> by freeradius as expected) but as i do not know how to define the
>> Auth-Type with the perl script i get the following error message "no
>> Auth-Type found" when running radiusd -XAs.
>> How can i set "Auth-Type" from a perl script or how is this done correctly?
>
> $RAD_CHECK{'Auth-Type'}= 'FOO';
>
> th.

thanks a lot, that works! (embarassing how easy that was!)

with best regards
    markus


+-----------------------------------------------------------------+
| Markus Krause, Mogli-Soft                                       |
| Support for Mac OS X, Webmail/Horde, LDAP, RADIUS, MySQL        |
| by order of the                                                 |
|    Computing Center of the Max-Planck-Institute of Biochemistry |
+--------------------------------+--------------------------------+
| E-Mail: krause at biochem.mpg.de  |  Tel.: 089 - 89 40 85 99       |
|         markus.krause at mac.com  |  Fax.: 089 - 89 40 85 98       |
|  Skype: markus.krause          | iChat: markus.krause at mac.com   |
+--------------------------------+--------------------------------+



----------------------------------------------------------------------
      This message was sent using https://webmail2.biochem.mpg.de
If you encounter any problems please report to rz-linux at biochem.mpg.de






More information about the Freeradius-Users mailing list