howto define Auth-Type in perl script?
Hi list! 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? Thanks in advance for any hints! 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@biochem.mpg.de | Tel.: 089 - 89 40 85 99 | | markus.krause@mac.com | Fax.: 089 - 89 40 85 98 | | Skype: markus.krause | iChat: markus.krause@mac.com | +--------------------------------+--------------------------------+ ---------------------------------------------------------------------- This message was sent using https://webmail2.biochem.mpg.de If you encounter any problems please report to rz-linux@biochem.mpg.de
On 3/18/07, Markus Krause <krause@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.
Zitat von Tomas Hoger <tomas.hoger@gmail.com>:
On 3/18/07, Markus Krause <krause@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@biochem.mpg.de | Tel.: 089 - 89 40 85 99 | | markus.krause@mac.com | Fax.: 089 - 89 40 85 98 | | Skype: markus.krause | iChat: markus.krause@mac.com | +--------------------------------+--------------------------------+ ---------------------------------------------------------------------- This message was sent using https://webmail2.biochem.mpg.de If you encounter any problems please report to rz-linux@biochem.mpg.de
participants (2)
-
Markus Krause -
Tomas Hoger