Access request with no User-Name

2005-02-01 Thread Alexander Serkin
Hi.
I need a solution to deal with access requests not containing User-Name 
attribute. The request is as below:

3GPP2-Correlation-Id = 768E
Calling-Station-Id = 25009769921
Framed-Protocol = PPP
User-Password = secret
Service-Type = Framed
NAS-IP-Address = a.b.c.d
Acct-Session-Id = D477603FF28E
Nas-Identifier = some.host.name
I need to build a username from CLID + some realm before authentication.
I.e. if no username - add attribute
User-Name = [EMAIL PROTECTED]
to the request and authenticate it then.
Please point me out to the appropriate module if its possible.
--
Alexander
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Access request with no User-Name

2005-02-01 Thread Alan DeKok
Alexander Serkin [EMAIL PROTECTED] wrote:
 I need to build a username from CLID + some realm before authentication.
 I.e. if no username - add attribute
 User-Name = [EMAIL PROTECTED]
 to the request and authenticate it then.
 
 Please point me out to the appropriate module if its possible.

  If you use the CVS snapshot, then rlm_policy can help you.

  Alan DeKok.

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