On Wed, 20 Jan 1999, Roger Buck wrote:

> I have had a look for a patched version of pppd with no luck (the pppd v
> 2.3.5 that comes with RH 5.2 seems to suffer from all the above
> problems. It should still work OK so long as everything is kept to
> mgetty defaults, but more sophisticated stuff will not work as you'd
> expect from reading the man/docs.
> 
> For example - you would not be able to keep stats for individual users
> who login using PAP!

I have a patched source RPM at
ftp.solucorp.qc.ca/pub/misc/ppp-2.3.3-4pap.src.rpm

The problem is this. In pppd, there is a function called logwtmp which log
in both wtmp and utmp. Unfortunatly, in glibc there is now a standard
logwtmp function, which log only to wtmp, not utmp. The programmer who
ported to glibc was fooled by that and simply commented out the original
logwtmp function of pppd (in sys-linux.c) in favor of the glibc function.
By doing so, he loose half of the functionality.

In the src rpm, you will find my patch for this called
ppp-2.3.3-pap.patch. I guess it apply to ppp 2.3.5 as well

---------------------------------------------------------
Jacques Gelinas <[EMAIL PROTECTED]>
Check out Linuxconf at http://www.solucorp.qc.ca/linuxconf
New modules: mgettyconf, managerpm


---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to