All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: VPN to windows ISA server
Date: Sun, 29 Nov 2009 23:10:50 +0000	[thread overview]
Message-ID: <4B12FF7A.70706@workingcode.com> (raw)
In-Reply-To: <d68727470911290541h3531b46cs45db474472bc7975@mail.gmail.com>

Diederik Hattingh wrote:
> Nov 29 14:29:35 [pppd] sent [LCP ConfAck id=0x2 <asyncmap 0x0> <magic
> 0x15190f75> <accomp>]

It looks like you've trimmed away the beginning of the negotiation in
the debug information you posted.  That's unfortunate, as this likely
includes important details that will be needed to resolve the problem.

In the future, don't do that.

> Nov 29 14:29:35 [pppd] MPPE required, but MS-CHAP[v2] auth not performed.

That looks like the key problem here.  You need to do MS-CHAPv2 with the
peer in order to use MPPE.  Either your system is misconfigured such
that it doesn't do MS-CHAPv2, or the peer just refuses to allow that
authentication mechanism.

> I added my CHAP "secret" with pptp-command.  Adding the secret does
> not add the "*" for IP address coloum in the  "/etc/ppp/chap-secrets
> file, is this normal?

Only the authenticator ("server") side of the connection needs that
extra column in the chap-secrets file, so this part of the configuration
is normal.

> Another question is the format of the domain\username.  In the secret
> file for chap, the example was "domain\\username". Should this be the
> same for the "user" value in the peer file?

Yes.  pppd doesn't actually know anything about "domain" names or
anything like that.  It just passes the string along to the peer (the
Windows server system), and that's what will parse out the domain and
user name.  Thus, you have to use the same string everywhere.

> I read online that the NT Domain part must be left blank, but the
> domain added as prefix, as described above, to the username.  Is this
> still valid?

It depends on how the NT server is configured.  There's no way to know
without asking the administrator of that system.

> # Secrets for authentication using CHAP
> # client        server  secret                  IP addresses
> myworkdomain\\djh       myworkdomain    *****
> myworkdomain    myworkdomain\\djh       *****

The second of those looks bogus; you would never identify yourself to
the peer as though your name were just "myworkdomain".  I would have had
this for the first entry:

myworkdomain\\djh	*	"my secret here"

It shouldn't be necessary (or helpful) to specify the server's name in
the second column, particularly as Microsoft systems tend to refuse to
identify themselves.

As for the double line seen in your configuration file, it looks to me
like whoever (or whatever) added it this way was confused about how that
file actually works.

> Notice that the connection server is called server.myworkdomain.co.za,
> but the domain I specified as myworkdomain (without .co.za)

I don't believe that NT authentication domains have anything to do with
DNS domain names.  They're wholly unrelated concepts.  You can't just
lop off the trailing ".co.za" and expect it to work, unless the NT
authentication domain (part of Kerberos, I think) just happens to be the
same as that portion of the DNS name by coincidence.  You need to have
proper NT authentication credentials if you're going to use MS-CHAPv2.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

      reply	other threads:[~2009-11-29 23:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-29 13:41 VPN to windows ISA server Diederik Hattingh
2009-11-29 23:10 ` James Carlson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B12FF7A.70706@workingcode.com \
    --to=carlsonj@workingcode.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.