huntgroups

Ruslan A Dautkhanov rusland at scn.ru
Thu Dec 22 11:58:30 CET 2005


Hello !

Short question:
        Please point me how to make startup changes in huntgroup to
    configure FR to use two different sql-modules for auth&acct, based
    on some criterias?...  Examples are most welcome.

Explanation:
          We have contract subscribers and want to use the same RADIUS-
    server for auth&acct of prepaid cards. Contact users enters their 
login+realm
    and password, but cards users enter card number and PIN-code. That is
    the difference, that make difference. We need use another SQL module
    instance for card users...
            How to configure huntgroups for this situation?   Conditions 
can be
      (1) if no '@' char in the User-Name attribute, then use 
'sql-cards' instance
           for auth&acct. Otherwise, use 'sql-contracts'.
      (2) if User-Name attribute have (determ. via regex) exact 14 
digits, then
           use 'sql-cards' instance for auth&acct. Otherwise, use 
'sql-contracts'.

P.S.  Searching in list archives doesn't help me.  Thanks a lot for any 
information...


--
Ruslan A Dautkhanov



More information about the Freeradius-Users mailing list