PPTP Change
- From: Russell Suter <rsuter mxlogic com>
- To: "NetworkManager-list gnome org" <NetworkManager-list gnome org>
- Subject: PPTP Change
- Date: Sat, 7 Feb 2009 13:44:46 -0700
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.
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]