I am trying to use my Linux box to log-in to the NT RAS at
work, and I'm having a little trouble.
I have verified that the NT box is accepting PAP -- the
CHAP line does not appear in my pppd log, and the sysadmin
at work enabled PAP at my request. I don't think that the
usual MSCHAP80 stuff is the problem.
I can use my Win98 machine to log-in just fine. I fill-out
the username, password and domain (call it LOGIC for this
and everything works fine (a long story, but it didn't used to).
Anyway, having gotten the Win to work, I wanted to now get my
Linux box working (it was working until some changes at work
broke the log-in process).
I took the existing (prior) PAP setup, changed the password to
the correct value, and tried an ifup ppp1 to the NT RAS. The
server hung-up on me.
Hmmm... maybe I need to specify the LOGIC domain somehow to get
"authenticated." Searching the web/news only turned-up how to
set-up CHAP with domains (such as LOGIC\\mike in the secrets file).
Well, I'm not needing CHAP, so I hacked the pap-secrets to use
LOGIC\\mike and the server still hung-up on me.
Here's the entry from my /var/log/messages:
Oct 4 23:20:44 kumba pppd: pppd 2.3.5 started by root, uid 0
Oct 4 23:20:44 kumba ifup-ppp: pppd started for ppp1 on /dev/modem at
Oct 4 23:21:06 kumba pppd: Serial connection established.
Oct 4 23:21:07 kumba pppd: Using interface ppp0
Oct 4 23:21:07 kumba pppd: Connect: ppp0 <--> /dev/modem
Oct 4 23:21:10 kumba pppd: Remote message: E=691
Oct 4 23:21:10 kumba pppd: PAP authentication failed
Oct 4 23:21:11 kumba pppd: Modem hangup
Oct 4 23:21:11 kumba pppd: Connection terminated.
Oct 4 23:21:12 kumba pppd: Exit.
The E=691 is a "username/password not valid" error I believe. I've
double checked the username and password, and they are correct.
Therefore, I need to know: can I use a domain log-in with PAP?
If so, how? If not, can I trick CHAP into not doing bi-direct.