Re: Sending Cisco AV Pairs per realm

2007-09-18 Thread Dan Goscomb
 Here is a short example that should work for you using the hints file:
 
 #hints
 DEFAULT User-Name =~ @dsl.realm
 Hint = DSL
 #/hints
 
 #users
 DEFAULT Hint == DSL
   Cisco-AVPair += ...
 #/users

Thanks Kevin

This looks great, however the caveat is that we're using MySQL and not
the users file; I can't for the life of me work out how to get that data
in to the tables!

Any hints would be appreciated.

Cheers

Dan

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Sending Cisco AV Pairs per realm

2007-09-14 Thread Dan Goscomb
Hi

I have a number of realms on my radius server (FreeRADIUS Version
1.1.6). All users are valid in both realms (one is for dialup, one for
broadband).

e.g.
[EMAIL PROTECTED]
[EMAIL PROTECTED]

All realm's are stripped so that the user (dang in the examples above)
is authenticated. However, on dial.realm I need to return a couple of
Cisco-Avpair attributes; how can this be done?

I have tried a hints file, however although I get the message on debug:

  hints: Matched DEFAULT at 17

The data specifies is not sent back in the RADIUS reply.

Any help would be greatly appreciated!

Cheers

Dan

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html