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

Giovani Moda giovani at mrinformatica.com.br
Wed May 28 07:52:39 EDT 2008


 
>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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dictionary.microsoft
Type: application/octet-stream
Size: 2646 bytes
Desc: dictionary.microsoft
Url : http://lists.openswan.org/pipermail/users/attachments/20080528/d3895b13/attachment.obj 


More information about the Users mailing list