bug in translating Tunnel-Type inusers file?

2005-07-25 Thread Tariq Rashid

for the followiing profile .. the tunnel type is sent as value 1 not 3... 

[EMAIL PROTECTED]  Password == "888", NAS-IP-Address == "1.2.3.4"
Tunnel-Server-Endpoint := "1:3.4.5.6",
Tunnel-Type := "1:L2TP",
Tunnel-Medium-Type := "1:IP",
Tunnel-Password := "1:***",
User-Service := "Framed-User",
Framed-Protocol := "PPP"

recevived ..

Attributes:
Tunnel-Server-Endpoint = 49::82.111.96.178
Tunnel-Type = 1:PPTP
Tunnel-Medium-Type = 0:IP
Tunnel-Password =
"<0><135><182><175><10>b<153><211><162><22><143><219><220><227>>'<186><196><
231>"
Framed-Protocol = PPP

even if i remove the quotes in the users file on freeradius 1.0.2 the result
is the same.

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


Re: bug in translating Tunnel-Type inusers file?

2005-07-25 Thread Alan DeKok
Tariq Rashid <[EMAIL PROTECTED]> wrote:
> for the followiing profile .. the tunnel type is sent as value 1 not 3... 
> 
> [EMAIL PROTECTED]  Password == "888", NAS-IP-Address == "1.2.3.4"
> Tunnel-Server-Endpoint := "1:3.4.5.6",
> Tunnel-Type := "1:L2TP",

  The permitted tag formats are:

  Tunnel-Type:1 = L2TP

  Tunnel-Type = :1:L2TP

  See src/lib/valuepair.c, function pairmake(), look for "merit"

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