Marios - 2005-06-04

i've installed poptop and it works great.

If i edit /etc/ppp/chap-secrets and give it a username passwd etc it will work fine and the user will authenticate with no problem.

But i want to use tacacs+ for authorization so it can authorize users that are in the /etc/shadow file.

the log file is this :

Jun 4 13:14:06 linux7 pptpd[6019]: CTRL: Client 213.16.179.235 control connection started
Jun 4 13:14:07 linux7 pptpd[6019]: CTRL: Starting call (launching pppd, opening GRE)
Jun 4 13:14:07 linux7 pppd[6020]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Jun 4 13:14:07 linux7 kernel: application bug: pppd(6020) has SIGCHLD set to SIG_IGN but calls wait().
Jun 4 13:14:07 linux7 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
Jun 4 13:14:07 linux7 pppd[6020]: pppd 2.4.3 started by root, uid 0
Jun 4 13:14:07 linux7 /etc/hotplug/net.agent: assuming ppp0 is already up
Jun 4 13:14:07 linux7 pppd[6020]: Using interface ppp0
Jun 4 13:14:07 linux7 pppd[6020]: Connect: ppp0 <--> /dev/pts/1
Jun 4 13:14:07 linux7 pptpd[6019]: GRE: Bad checksum from pppd.
Jun 4 13:14:10 linux7 pptpd[6019]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Jun 4 13:14:11 linux7 pppd[6020]: MPPE 128-bit stateless compression enabled
Jun 4 13:14:13 linux7 pppd[6020]: Cannot determine ethernet address for proxy ARP
Jun 4 13:14:13 linux7 pppd[6020]: local IP address 10.199.199.1
Jun 4 13:14:13 linux7 pppd[6020]: remote IP address 10.199.199.2
Jun 4 13:14:18 linux7 pppd[6020]: LCP terminated by peer (^GM-4^G&^@<M-Mt^@^@^@^@)
Jun 4 13:14:18 linux7 pppd[6020]: Connect time 0.1 minutes.
Jun 4 13:14:18 linux7 pppd[6020]: Sent 0 bytes, received 1926 bytes.
Jun 4 13:14:21 linux7 pppd[6020]: Connection terminated.
Jun 4 13:14:21 linux7 /etc/hotplug/net.agent: assuming ppp0 is already up
Jun 4 13:14:21 linux7 pppd[6020]: Using interface ppp0
Jun 4 13:14:21 linux7 pppd[6020]: Connect: ppp0 <--> /dev/pts/1
Jun 4 13:14:21 linux7 pppd[6020]: tcflush failed: Bad file descriptor
Jun 4 13:14:21 linux7 /etc/hotplug/net.agent: NET unregister event not supported
Jun 4 13:14:21 linux7 pppd[6020]: tcsetattr: Invalid argument (line 1016)
Jun 4 13:14:21 linux7 pppd[6020]: Exit.
Jun 4 13:14:21 linux7 pptpd[6019]: GRE: read(fd=4,buffer=804e6e0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 4 13:14:21 linux7 pptpd[6019]: CTRL: PTY read or GRE write failed (pty,gre)=(4,5)
Jun 4 13:14:21 linux7 pptpd[6019]: CTRL: Client 213.16.179.235 control connection finished
Jun 4 13:14:21 linux7 /etc/hotplug/net.agent: NET unregister event not supported

The tac_plus programma dont starts at all ....how
can i configure it so it will take control of the authorization proccess ?