Hello there,
I am now progressing - i think. but got stucked. I enabled the ldap plugin. radiusd -X display all the correct info. but when try to connect vpn from windows client. here is the error i get. Maybe you guys have some tips on it.
GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Mar 26 10:58:10 blade201 pptpd[21153]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Mar 26 10:58:10 blade201 pptpd[21153]: CTRL: Client 192.168.1.1 control connection finished
Mar 26 10:58:14 blade201 pptpd[21162]: CTRL: Client 192.168.1.1 control connection started
Mar 26 10:58:14 blade201 pptpd[21162]: CTRL: Starting call (launching pppd, opening GRE)
Mar 26 10:58:14 blade201 pppd[21163]: Plugin radius.so loaded.
Mar 26 10:58:14 blade201 pppd[21163]: RADIUS plugin initialized.
Mar 26 10:58:14 blade201 pppd[21163]: Plugin radattr.so loaded.
Mar 26 10:58:14 blade201 pppd[21163]: RADATTR plugin initialized.
Mar 26 10:58:14 blade201 pppd[21163]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Mar 26 10:58:14 blade201 pppd[21163]: pppd 2.4.5 started by root, uid 0
Mar 26 10:58:14 blade201 pppd[21163]: Using interface ppp0
Mar 26 10:58:14 blade201 pppd[21163]: Connect: ppp0 <--> /dev/pts/1
Mar 26 10:58:17 blade201 pptpd[21162]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Mar 26 10:58:17 blade201 pppd[21163]: rc_read_dictionary: unknown vendor on line 22 of dictionary /etc/radiusclient-ng/dictionary.microsoft
Mar 26 10:58:17 blade201 pppd[21163]: RADIUS: Can't read dictionary file /etc/radiusclient-ng/dictionary
Mar 26 10:58:17 blade201 pppd[21163]: Peer nemandi@hi.is failed CHAP authentication
Mar 26 10:58:17 blade201 pppd[21163]: Connection terminated.
Mar 26 10:58:17 blade201 pppd[21163]: Exit.
Mar 26 10:58:17 blade201 pptpd[21162]: GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Mar 26 10:58:17 blade201 pptpd[21162]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
it seems i need some lines in my dictonary.microsoft file for pppd. How do i add this ? all I am trying to do here is pppd to delegate ip pool for client and radius to authentication for user via ldap. where I am missing thing ?
Any help would be appreciated.
K
Thanks guys, I should have search for it :) I configured the ldap section that fits to my environment. Now, how to load this ldap module in radiusd.conf file so it will use ldap authentication ? also where can i add the redundant ldap server in the ldap module ? sorry for too many my early beginners questions.
KOn Fri, Mar 23, 2012 at 9:17 PM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
you installed via package manager? you've probably got a freeradius-ldap
> I just checked in modules directory but could not find anything with ldap.
> This is what is in my /etc/raddb:
package you need to install....