[pptp-server] chapms-strip-domain and ppp-2.4
Gill, Vern
vgill at technologist.com
Mon Sep 24 19:24:21 CDT 2001
If the machine you are connecting with is say Linux and the pptp-client,
you need to send DOMAIN\\username. Note the 2 \\.
Otherwise, maybe post your pptpd.conf...
-----Original Message-----
From: rathore at bilo.icns.com [mailto:rathore at bilo.icns.com]
Sent: Monday, September 24, 2001 4:45 AM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] chapms-strip-domain and ppp-2.4
Hi
I installed ppp-2.4.0 with strip-MSdomain-patch.diff (made against
ppp-2.3.11) it patches successfully and compiles. I do see it stripping
domain "XXX\\" from rhostname "XXX\\username" right after:
if (strrchr(rhostname, '\\') && chapms_strip_domain) {
strcpy(tmp, strrchr(rhostname, '\\') + 1);
strcpy(rhostname, tmp);
}
But the authentication fails:
probably because the Chalange is encrypted
using "XXX\\usename" and stripping "XXX\\" doesnt work. I do not have a
machine that will stick a domain name to the username so I am only
simulating it by typing "XXX\username" instead of "username". Note that
only typing "username" does authenticate successfully.
Here is the log ("Im here mawali" is a warn() that I have put in to see
if it was stripping OK)
Sep 24 17:29:00 mawali pppd[26100]: sent [CHAP Challenge id=0x1
<55bf26bb0ce89df41ab74f04fc684499>, name = "*"]
Sep 24 17:29:00 mawali pppd[26100]: rcvd [CHAP Response id=0x1
<3cb4587524c86b5728bd47e71e586674000000000000000079d8a2afdaab1012ae9444c
33cb1d6f59a8f7bb62715f28d04>,
name = "home\\mawali"]
Sep 24 17:29:00 mawali pppd[26100]: Im here. "mawali"
Sep 24 17:29:00 mawali pppd[26100]: sent [CHAP Failure id=0x1 "I don't
like you. Go 'way."]
Sep 24 17:29:00 mawali pppd[26100]: MSCHAP-v2 peer authentication failed
for remote host mawali
Sep 24 17:29:00 mawali pppd[26100]: sent [LCP TermReq id=0x2
"Authentication failed"]
Here is if i dont use "XXX\"
Sep 24 17:29:09 mawali pppd[26102]: sent [CHAP Challenge id=0x1
<0c2856905cfe7f47ed5c8ff6def820cd>, name = "*"]
Sep 24 17:29:09 mawali pppd[26102]: rcvd [CHAP Response id=0x1
<b86ac9e21131f4208175b5ae2b320374000000000000000022823e7a13389cfe54bb3fb
d266ed6bc0994e2e9d8b53f5204>,
name = "mawali"]
Sep 24 17:29:09 mawali pppd[26102]: sent [CHAP Success id=0x1
"S=D262D372D9B7171106AB40DBF55CBEB93B6AE12D"]
Any Ideas???
_______________________________________________
pptp-server maillist - pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
--- To unsubscribe, go to the url just above this line. --
More information about the pptp-server
mailing list