Hi, I have installed free radius(lastest) on my machine and cannot seem to get it configured correctly. Initially there are duplicates in some dictionaries that I have commented out. However in radiusd.conf in the authorize section I need to comment out all of the items to get radisud to start. eg: dict_addvalue: Duplicate value name PAP for attribute Auth-Type After commenting out the items, if I try radtest it complains that there is no Auth-Type . ... modcall[authorize]: module "files" returns ok for request 0 modcall: leaving group authorize (returns ok) for request 0 auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user auth: Failed to validate the user. I only really need CHAP and unix enabled. Any help would n\be appreciated. Thanks Grahame Jordan
Grahame Jordan <gbj@theforce.com.au> wrote:
I have installed free radius(lastest) on my machine and cannot seem to get it configured correctly. Initially there are duplicates in some dictionaries that I have commented out.
That only happens if you installed a new version of the server on a system where there was an older version (or another radius server) installed before. Ensure that the dictionary in /etc/raddb/dictionary points to the dictionaries that were installed with the latest version. The "make install" process DOES print out a large warning saying you should double-check the dictionaries. Alan DeKok.
Hi, This is a fresh install on a new server. I tried the source and the debian unstable deb with the same result. I carefully rm -rf'd the libraries etc in question and reinstalled. Specifically these are the duplicate entries. running "freeradius -yzX" /usr/share/freeradius/dictionary.ascend[1233]: dict_addvalue: Duplicate value name Route-IPX-No for attribute X-Ascend-Route-IPX VALUE X-Ascend-Route-IPX Route-IPX-No 0 VALUE X-Ascend-Route-IPX Route-IPX-Yes 1 VALUE X-Ascend-Route-IPX Route-IPX-No 0 VALUE X-Ascend-Route-IPX Route-IPX-Yes 1 /usr/share/freeradius/dictionary.redback[388]: dict_addvalue: Duplicate value name LAC-Only for attribute Tunnel-Function VALUE Tunnel-Function LAC-Only 1 VALUE Tunnel-Function LNS-Only 2 VALUE Tunnel-Function LAC-LNS 3 VALUE Tunnel-Session-auth CHAP 1 VALUE Tunnel-Session-auth PAP 2 VALUE Tunnel-Session-auth CHAP-PAP 3 VALUE Mcast-Send NO-SEND 1 VALUE Mcast-Send SEND 2 VALUE Mcast-Send UNSOLICITED-SEND 3 VALUE Mcast-Receive NO-RECEIVE 1 VALUE Mcast-Receive RECEIVE 2 VALUE Tunnel-DNIS DNIS 1 VALUE Tunnel-DNIS DNIS-Only 2 VALUE Tunnel_Function LAC-Only 1 VALUE Tunnel_Function LNS-Only 2 VALUE Tunnel_Function LAC-LNS 3 VALUE Tunnel_Session_auth CHAP 1 VALUE Tunnel_Session_auth PAP 2 VALUE Tunnel_Session_auth CHAP-PAP 3 VALUE Mcast_Send NO-SEND 1 VALUE Mcast_Send SEND 2 VALUE Mcast_Send UNSOLICITED-SEND 3 VALUE Mcast_Receive NO-RECEIVE 1 VALUE Mcast_Receive RECEIVE 2 VALUE Tunnel_DNIS DNIS 1 VALUE Tunnel_DNIS DNIS-Only 2 /usr/share/freeradius/dictionary.freeradius.internal[307]: dict_addvalue: Duplicate value name Local for attribute Post-Auth-Type VALUE Post-Auth-Type Local 0 Cannot find duplicate for this one however if I comment it out it is OK Then it starts doing this: Error: dict_addvalue: Duplicate value name PAP for attribute Auth-Type for all of the values in the authenticate {} section in radius.conf If I comment these out then it starts but cannot authenticate. Thanks Grahame Jordan Alan DeKok wrote:
Grahame Jordan <gbj@theforce.com.au> wrote:
I have installed free radius(lastest) on my machine and cannot seem to get it configured correctly. Initially there are duplicates in some dictionaries that I have commented out.
That only happens if you installed a new version of the server on a system where there was an older version (or another radius server) installed before.
Ensure that the dictionary in /etc/raddb/dictionary points to the dictionaries that were installed with the latest version. The "make install" process DOES print out a large warning saying you should double-check the dictionaries.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Grahame Jordan <gbj@theforce.com.au> wrote:
Specifically these are the duplicate entries. running "freeradius -yzX"
/usr/share/freeradius/dictionary.ascend[1233]: dict_addvalue: Duplicate value name Route-IPX-No for attribute X-Ascend-Route-IPX
You're on a 64-bit machine. Version 1.1.1 will have the fix, real soon now. Alan DeKok.
participants (2)
-
Alan DeKok -
Grahame Jordan