[Openswan Users] RES: Openswan using Radius server for authentication

Arnel B. Espanola aespanola at arts.ucla.edu
Wed May 28 13:03:20 EDT 2008


Hi Giovani,

Thanks. It fixes the dictionary errors but another error comes up. See 
the log.


May 28 09:54:09 vpn pppd[24108]: Plugin radius.so loaded.
May 28 09:54:09 vpn pppd[24108]: RADIUS plugin initialized.
May 28 09:54:09 vpn pppd[24108]: Plugin radattr.so loaded.
May 28 09:54:09 vpn pppd[24108]: RADATTR plugin initialized.
May 28 09:54:09 vpn pppd[24108]: pppd 2.4.4 started by root, uid 0
May 28 09:54:09 vpn pppd[24108]: Using interface ppp0
May 28 09:54:09 vpn pppd[24108]: Connect: ppp0 <--> /dev/pts/1
May 28 09:54:12 vpn pppd[24108]: rc_send_server: bind: 
[radius.server.host]: Permission denied
May 28 09:54:12 vpn pppd[24108]: Peer user1 failed CHAP authentication
May 28 09:54:12 vpn pppd[24108]: Connection terminated.
May 28 09:54:12 vpn pppd[24108]: Exit.
May 28 09:54:12 vpn xl2tpd[4739]: call_close: Call 11693 to 10.0.1.1 
disconnected
May 28 09:54:17 vpn xl2tpd[4739]: Maximum retries exceeded for tunnel 
56079.  Closing.
May 28 09:54:17 vpn xl2tpd[4739]: Connection 19 closed to 10.0.1.1, port 
50300 (Timeout)

Arnel

Giovani Moda wrote:
>  
>> May 27 14:04:58 vpn pppd[4127]: Connect: ppp0 <--> /dev/pts/0 May 27
> 14:05:00 vpn pppd[4127]: rc_read_dictionary: >>>>  
>> couldn't open dictionary @pkgdatadir@/dictionary: No such file or
> directory May 27 14:05:00 vpn pppd[4127]: RADIUS: Can't >read dictionary
> file @pkgdatadir@/dictionary May 27 14:05:00 vpn pppd[4127]: Peer user1
> failed CHAP authentication May 27 >14:05:00 vpn pppd[4127]: Connection
> terminated.
> 
> It's complaining that it can't find radiusclient dictionary files. Check
> radiusclient.conf (probably at /etc/radiusclient)
> For the line "dictionary". It should be pointing out to a directory
> where you dictionary files should be. In my case, it looks like that:
> 
> dictionary      /etc/radiusclient/dictionary
> 
> Make sure the directory exists and contains dictionary files. I'll
> attach a dictionary file specific for l2tp/ipsec with MS Windows. Copy
> it to tour dictionary directory and include this line in the dictionary
> file inside this directory:
> 
> INCLUDE /path/to/dictionary/dictionary.microsoft
> 
> I remember loosing a LOT of time because of this.
> 
> Let me know if you need further help.
> 
> Giovani Moda
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list