[RADIATOR] Custom AuthBy Identifier not being picked up

Tim Jones tim.jones at fon.com
Tue May 21 07:23:03 CDT 2013


My apologies, that was a transcription error. In the actual config file
"Identifier" is spelt correctly.

Regards,

Tim Jones
*Technology & Quality
*
**
**
tim.jones at fon.com
Skype: Tim.Jones.Fon

C/ Quintanavides 15. Edificio 2, Planta 1ª
Parque Empresarial Vía Norte, de Metrovacesa
28050 Las Tablas. Madrid


On 21 May 2013 14:08, Heikki Vatiainen <hvn at open.com.au> wrote:

> On 05/21/2013 02:50 PM, Tim Jones wrote:
>
> > I am creating a custom AuthBy and made a copy of the provided
> > AuthTEST.pm module following the documentation.
> >
> > The module gets imported & loaded when radiator restarts, but if I try
> > to assign it an identifier I get error messages saying it can't be
> > found,e.g.
>
> You have a typo in the config file:
> >     Identifer test_mod
>
> Identifier is missing an i.
>
> When you put the AuthBy in the group and the Handler has 'AuthBy group',
> your AuthBy will be accessed through the group and the misspelled
> Identifier does not matter. If you fix the typo you do not need to use
> the group.
>
> There's probably an error somewhere in the messages too:
> ERR: Unknown keyword 'Identifer'
>
> Thanks,
> Heikki
>
> >
> ----------------------------------------------------------------------------------------
> > <AuthBy FILE>
> >     Identifier users_file
> > </AuthBy>
> >
> > <AuthBy MYMODULE>
> >     Identifer test_mod
> > </AuthBy>
> >
> > <AuthBy GROUP>
> >     Identifier group
> >     AuthByPolicy ContinueWhileAccept
> >     AuthBy test_mod
> >     AuthBy users_file
> > </AuthBy>
> >
> > <Handler>
> >     Identifier default
> >     AuthBy group
> > </Handler>
> >
> ----------------------------------------------------------------------------------------
> > Tue May 21 12:40:21 2013 541542: DEBUG: AuthMYMODULE loaded
> > Tue May 21 12:40:21 2013 542564: WARNING: Could not find AuthBy clause
> > with Identifier test_mod
> > Tue May 21 12:40:21 2013 545893: DEBUG: Finished reading configuration
> > file '/etc/radiator/simple-rad.cfg'
> > Tue May 21 12:40:23 2013 090787: DEBUG: Reading dictionary file
> > '/etc/radiator/simple/dictionary'
> > Tue May 21 12:40:27 2013 501376: DEBUG: Creating authentication port
> > 0.0.0.0:1645 <http://0.0.0.0:1645>
> > Tue May 21 12:40:27 2013 501648: DEBUG: Creating accounting port
> > 0.0.0.0:1646 <http://0.0.0.0:1646>
> > Tue May 21 12:40:27 2013 501809: NOTICE: Server started: Radiator 4.11
> > on VM-RADMOD
> >
> ----------------------------------------------------------------------------------------
> >
> > But when I put the AuthBy clause directly into the AuthBy GROUP, it
> > works just fine:
> >
> >
> ----------------------------------------------------------------------------------------
> > <AuthBy FILE>
> >     Identifier users_file
> > </AuthBy>
> >
> > <AuthBy GROUP>
> >     Identifier group
> >     AuthByPolicy ContinueWhileAccept
> >     <AuthBy MYMODULE>
> >          Identifer test_mod
> >     </AuthBy>
> >     AuthBy users_file
> > </AuthBy>
> >
> > <Handler>
> >     Identifier default
> >     AuthBy group
> > </Handler>
> >
> ----------------------------------------------------------------------------------------
> > Tue May 21 12:39:49 2013 694468: DEBUG: Handling request with Handler
> > '', Identifier 'default'
> > Tue May 21 12:39:49 2013 694675: DEBUG:  Deleting session for test,
> > 203.63.154.1, 1234
> > Tue May 21 12:39:49 2013 694806: DEBUG: Handling with Radius::AuthGROUP:
> > group
> > Tue May 21 12:39:49 2013 694938: INFO: AuthMYMODULE handle_request:
> > Received from 127.0.0.1 port 49037
> > Tue May 21 12:39:49 2013 695061: DEBUG: Radius::AuthGROUP:group  result:
> > ACCEPT,
> > Tue May 21 12:39:49 2013 695190: DEBUG: Handling with Radius::AuthFILE:
> > users_file
> > Tue May 21 12:39:49 2013 695372: DEBUG: Reading users file
> > /etc/radiator/simple/users
> > Tue May 21 12:39:49 2013 695594: DEBUG: Radius::AuthFILE looks for match
> > with test [test]
> > Tue May 21 12:39:49 2013 695864: DEBUG: Radius::AuthFILE ACCEPT: : test
> > [test]
> > Tue May 21 12:39:49 2013 696022: DEBUG: Radius::AuthGROUP:group
> > users_file result: ACCEPT,
> > Tue May 21 12:39:49 2013 696314: DEBUG: AuthBy GROUP result: ACCEPT,
> > Tue May 21 12:39:49 2013 696461: DEBUG: Access accepted for test
> >
> >
> > Any help & suggestions would be appreciated,
> >
> > Many thanks & regards,
> >
> > Tim Jones
> > /Technology & Quality
> > /
> > **
> > **
> > tim.jones at fon.com <mailto:tim.jones at fon.com>
> > Skype: Tim.Jones.Fon
> >
> > C/ Quintanavides 15. Edificio 2, Planta 1ª
> > Parque Empresarial Vía Norte, de Metrovacesa
> > 28050 Las Tablas. Madrid
> >
> >
> > _______________________________________________
> > radiator mailing list
> > radiator at open.com.au
> > http://www.open.com.au/mailman/listinfo/radiator
> >
>
>
> --
> Heikki Vatiainen <hvn at open.com.au>
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
> TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
> DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
> NetWare etc.
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20130521/27bedbc2/attachment-0001.html 


More information about the radiator mailing list