help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] Problem with mpd


From: Morten Winther
Subject: [Help-gnu-radius] Problem with mpd
Date: Tue, 20 Jan 2004 21:09:43 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916

Hi

I'm just started to test a PPTP server. (mpd http://www.dellroad.org/mpd)

I t doesn't seem to work with gnu-radius.

Hope someone can help me finding the error.

Best regards

Morten

Debug info
-----------

This is from the radius log:

Tue Jan 20 20:22:16 2004
       NAS-Identifier = gaia
       NAS-Port-Id = 0
       NAS-Port-Type = 5
       Service-Type = Framed
       Framed-Protocol = PPP
       Calling-Station-Id = 217.157.161.246
       User-Name = morw
Vendor-Specific = V311\013\022\273\036\150\353\215\152\031\315\015\050\221\222\165\222\2608 Vendor-Specific = V311\031\064\001\000\301\077\143\267\327\031\112\313\231\106\215\317\342\270\234\334\000\000\000\000\000\000\000\000\311\247\277\365\165\123\252\346\154\371\361\332\137\257\327\061\230\327\053\226\004\006\021\312
       NAS-IP-Address = 127.0.0.1
       Timestamp = 1074626536
       Request-Authenticator = None

I've tried to use the microsoft dictonary from freeradius with no luck:

Jan 20 20:34:09 Main.info: reading /usr/local/etc/raddb/config
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:9: unknown keyword
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:10: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:12: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:13: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:14: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:15: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:16: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:19: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:20: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:23: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:24: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:28: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:29: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:31: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:32: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:35: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:39: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:40: invalid type
Jan 20 20:34:09 Main.error: /usr/local/etc/raddb/dict/ms:41: invalid type
..
Jan 20 21:03:02 Auth.notice: Login incorrect [morw/]

mpd log:

[pptp0] RADIUS: RadiusAddServer Adding 127.0.0.1
[pptp0] RADIUS: RadiusPutAuth: RADIUS_CHAP (MSOFTv2) peer name: morw
[pptp0] RADIUS: RadiusSendRequest: RAD_ACCESS_REJECT for user morw
[pptp0] RADIUS: RadiusGetParams: RAD_REPLY_MESSAGE:
Access denied

[pptp0] RADIUS: RadiusGetParams: PANIC no MS-CHAPv2 response received
Peer name: "morw"
Can't get credentials for "morw"

mdp setup:
       set radius retries 3
       set radius timeout 3
       set radius server 127.0.0.1 golala 1812 1813
       #set radius me 217.172.16.16.239
       #set ipcp yes radius-ip
       set bundle enable radius-auth radius-fallback
       set bundle enable radius-acct






reply via email to

[Prev in Thread] Current Thread [Next in Thread]