Re: PPTP Change
- From: Dan Williams <dcbw redhat com>
- To: Russell Suter <rsuter mxlogic com>
- Cc: "NetworkManager-list gnome org" <NetworkManager-list gnome org>
- Subject: Re: PPTP Change
- Date: Mon, 09 Feb 2009 11:45:18 -0500
On Sat, 2009-02-07 at 13:44 -0700, Russell Suter wrote:
> All,
>
> I have my NetworkManager-pptp working now but I had to make one change
> in the source get it to authenticate. We use mschapv2 at my workplace
> and when the credentials were being passed to the server, it was
> failing. The problem was that it was passing the username as
> DOMAIN\\USERNAME which doesn't work. After a bit of playing with
> wireshark, I was able to deduce the username should be sent
> DOMAIN\USERNAME. When I changed it, it worked.
SVN revisions 23 and 24, thanks!
I have no idea why I initially made it DOMAIN\\USERNAME; but it's pretty
clear that's wrong.
Dan
> Now, I know almost nothing about this stuff so I suspect this isn't the
> best solution since I'm sure other people are using it this way. But,
> I'm providing the patch for what I did to make it work for me in hopes
> that someone more knowledgeable can come up with a better solution.
>
>
>
> Index: nm-pptp-service.c
> ===================================================================
> --- nm-pptp-service.c (revision 22)
> +++ nm-pptp-service.c (working copy)
> @@ -313,7 +313,7 @@
>
> /* Success */
> if (strlen (priv->domain))
> - *out_username = g_strdup_printf ("%s\\\\%s", priv->domain,
> priv->username);
> + *out_username = g_strdup_printf ("%s\\%s", priv->domain,
> priv->username);
> else
> *out_username = g_strdup (priv->username);
> *out_password = g_strdup (priv->password);
>
> Thanks
>
> --
> Russ
>
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]