Alwyn,
Well I did have the pap-secrets file matching the /etc/passwd (or in this
case /etc/shadow, assuming pppd checks the /etc/shadow file). But it would
never work unless I put in the +chap option (and created the chap-secrets
entry). I do not need system accounts created (or passwords in /etc/passwd)
when using chap.
I always assumed that Windows machines used PAP when setting up dial up
networking, but until I did the chap-secrets file they would never connect.
The log files show that a chap login was completed, so the Windows machines
are connecting with chap.
The other nitpicky thing is that I thought with the +login option the users
name would be put in the wtmp file so that a who would show the username
instead of a_ppp. Regardless of the user having a system account created
that matches the chap-secrets file I never got anything but a_ppp for online
pppd users. I suspect that the +login option only works correctly with PAP
logins, but for the life of me can't figure out how to get my Windows
machines to connect to Linux with PAP.
Its been working for about 2 months now (with those minor annoyances). Have
8 modems on the Linux box and about 30 users who dial into them daily.
Mike
[EMAIL PROTECTED]
----- Original Message -----
From: Alwyn Schoeman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 26, 1999 2:35 AM
Subject: Re: [expert] Update on AutoPPP and pppd
> Hi Mike,
>
> The login option means that the user must exist in the pap-secrets file
and in
> your /etc/password.
> Probably with same password too. I found that it also works better if
> passwords in pap-secrets is of the form "password".
>
>