Re: [Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-12-26 Thread Alexander Sack
jmcantrell wrote:
 This patch fixes both the EAP and MPPE interface bugs for me. Again, if
 someone can help me get familiar with working with my PPA, I'll upload a
 package. Until then, here's the patch.

 ** Attachment added: Fix for EAP and MPPE interface bugs
http://launchpadlibrarian.net/19840800/advanced-dialog.c.patch

   
can yo uplease post this to the proper bug?

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-12-02 Thread Launchpad Bug Tracker
This bug was fixed in the package network-manager-pptp -
0.7~~svn20081015t024626-0ubuntu1.8.10.1

---
network-manager-pptp (0.7~~svn20081015t024626-0ubuntu1.8.10.1) 
intrepid-proposed; urgency=low

  * LP: #259168 Network Manager unable to connect to PPTP VPN (bad NT-Domain
escaping); we improve ppp domain in username encoding
- add debian/patches/lp259168_ppp_nt_domain_escaping.patch
  * LP: #268667 MASTER - not all required ppp options get set on command line
which makes ppp use bad values from /etc/ppp/options*; we explicitly set
good values for: nodefaultroute, lcp-echo-failure and lcp-echo-interval
- add debian/patches/lp268667_ppp_default_options.patch
  * LP: #292681 crash when running auth-dialog and secret in keyring;
we use the proper memory functions in this patch (dupe-of LP: #284212
VPN connection fails: unable to find valid VPN secrets)
- add debian/patches/lp_292681_keyring_memory_free.patch
  * LP: #290468 VPN fails, /usr/bin/nm-ppp-starter missing; we remove
obsolete conffiles in .preinst now
- add debian/network-manager-pptp.preinst

 -- Alexander Sack [EMAIL PROTECTED]   Thu, 30 Oct 2008 00:22:51 +0100

** Changed in: network-manager-pptp (Ubuntu Intrepid)
   Status: Fix Committed = Fix Released

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-12-02 Thread Craig
Network manager upstream's bug tracker is http://bugzilla.gnome.org/
I've seen comments that people do not know where to submit patches or
report issues with upstream - I would think this is the place.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-29 Thread Alexander Sack
On Thu, Nov 27, 2008 at 01:46:14AM -, William Loucks wrote:
 For those of you who can answer yes to all five of the following
 questions:

Please display a big warning: when you instlal these packages you will
never upgrade to any NetworkManager 0.7 ... if you provide these
packages, please do so outside of bugs. Thanks!

 - Alexander

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-29 Thread William Loucks
@Mr. Sack: the updated document is here:
http://www2.nau.edu/wal2/NetworkManager/Readme.html and please note, you
CAN go back to 0.7; just follow the instructions in the aforementioned
document.

My sincere apologies for any trouble this may have caused.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-28 Thread William Loucks
Bug 278309 is, so far, the most inclusive of all the various bugs I've
found yet for network-manager-pptp version 0.7. Its title or description
is intrepid network-manager-pptp does not have essential options

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-27 Thread ironfisher
Everything work for me now without doing anything special. I just tried
choosing others protocols and parameters (and not those which my
university said me)

Sorry for my bad English.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-27 Thread Martin Pitt
** Description changed:

  To verify:
   1. check that you cannot connect to pptp and you are using a NT-Domain in 
the conncetion config
   2. verify that this is your bug: leave the NT-Domain field empty; instead 
encode it in username like:
NT_DOMAIN\USERNAME (e.g. mydomain\myuser)
   3. upgrade to fixed package and see that it works without the trick in 2.
  
  
  Binary package hint: network-manager-pptp
  
  Package version: 0.7~~svn20080818t061112-0ubuntu1~nm1~hardy1
  uname -a: Linux jim-d620 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 
2008 i686 GNU/Linux
  
  I am testing the SVN version of network-manager 0.7. I am attempting to
  connect to my employer's Windows PPTP VPN. Each time I try, the
  connection fails, displaying a pop-up message that says: The VPN
  connection 'Connection Name' failed because the VPN service stopped
  unexpectedly.
  
  The relevant section of /var/log/syslog is:
  Aug 18 15:15:13 jim-d620 NetworkManager: info  Starting VPN service 
'org.freedesktop.NetworkManager.pptp'... 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN service 
'org.freedesktop.NetworkManager.pptp' started 
(org.freedesktop.NetworkManager.pptp), PID 16601 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN service 
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN service 
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections 
  Aug 18 15:15:13 jim-d620 NetworkManager: nm_vpn_connection_activate: 
assertion `nm_vpn_connection_get_vpn_state (connection) == 
NM_VPN_CONNECTION_STATE_PREPARE' failed
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN plugin state changed: 3 
  Aug 18 15:15:13 jim-d620 pppd[16602]: Plugin 
/usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
  Aug 18 15:15:13 jim-d620 pppd[16602]: pppd 2.4.4 started by root, uid 0
  Aug 18 15:15:13 jim-d620 pppd[16602]: Using interface ppp1
  Aug 18 15:15:13 jim-d620 pppd[16602]: Connect: ppp1 -- /dev/pts/1
  Aug 18 15:15:13 jim-d620 pptp[16603]: nm-pptp-service-16601 
log[main:pptp.c:267]: The synchronous pptp option is NOT activated 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN connection 'Connection 
Name' (Connect) reply received. 
  Aug 18 15:15:15 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 
'Start-Control-Connection-Request' 
  Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
  Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
  Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 
'Outgoing-Call-Request' 
  Aug 18 15:15:17 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
  Aug 18 15:15:17 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's 
call ID 11881). 
  Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
  Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]:   send_accm is , recv_accm is 
  Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not 
supported!
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]:   send_accm is , recv_accm is 
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not 
supported!
  Aug 18 15:15:19 jim-d620 pppd[16602]: LCP terminated by peer (wM-(?^@[EMAIL 
PROTECTED]@^BM-3)
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:911]: Received Call Clear Request.
+ 
  Aug 18 15:15:22 jim-d620 pppd[16602]: Connection terminated.
  Aug 18 15:15:22 jim-d620 pppd[16602]: Modem hangup
  Aug 18 15:15:22 jim-d620 pptp[16603]: nm-pptp-service-16601 
warn[decaps_hdlc:pptp_gre.c:197]: short read (-1): Input/output error
  Aug 18 15:15:22 jim-d620 pptp[16603]: nm-pptp-service-16601 
warn[decaps_hdlc:pptp_gre.c:209]: pppd may have shutdown, see pppd log
  Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
  Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 
'Call-Clear-Request' 
  Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 

[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-26 Thread William Loucks
For those of you who can answer yes to all five of the following
questions:

* Are you still using Intrepid?
* Do you neither use nor require the new features of NetworkManager 0.7 such as 
Mobile Broadband and DSL?
* Do you want to stay with Intrepid?
* Do you want to revert Intrepid's network-manager-pptp to be as it was in 
Hardy?
* Are you willing to take risks and not blame me if something goes wrong?

I've created new versions of the five related packages with version
numbers such that they are newer than 0.7, but are actually the same
packages and versions which were in Hardy. These are only for the i386
architecture. I've tested them as well as I can and would like
volunteers for additional testing. I did not sign these packages, so you
will have to understand what that means. To become a volunteer tester,
do these steps:

1. Add the following to Software Sources:
deb http://www2.nau.edu/wal2/NetworkManager/ ./

2. Use update-manager or synaptic to check the software channels for new
updates or reload the package information.

3. For your information, the new versions of the five packages are:
libnm-glib00.7+0.6.6
libnm-util00.7+0.6.6
network-manager0.7+0.6.6
network-manager-gnome  0.7+0.6.6
network-manager-pptp   0.7+0.6.5

4. Install all five of the packages shown in #3 above, after verifying
that the new version is as listed in #3 above.

5. Reboot, just be safe

6. If you previously used network-manager-pptp under Hardy, it should
look exactly like it did in Hardy. If you had not previously used
network-manager-pptp under Hardy, take a look at the configuration
dialogs.

7. Set up your favorite pptp connection and test it.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-24 Thread Alexander Sack
jmcantrell, I moved your refulse-eap issue to bug 301593 ... lets
continue discussion there. will subscribe you.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-23 Thread jmcantrell
To build your own version of network-manager-pptp with this patch:

apt-get source network-manager-pptp
apt-get install autotools-dev fakeroot dh-make build-essential
apt-get build-dep network-manager-pptp
cd network-manager-pptp-0.7*
patch -p0 /path/to/my/patch/file
dpkg-buildpackage -rfakeroot -uc -b

Assuming all went well, the deb should be in the parent directory.
I've attached a patch with the corrected paths so patch will recognize it.

** Attachment added: Patch with correct paths
   http://launchpadlibrarian.net/19875952/advanced-dialog.c.patch

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-23 Thread William Loucks
Regarding refuse-eap: As I stated 2008-11-04 , the manual workaround of
using your favorite text editor to add refuse-eap to the file
~/.gconf/system/networking/connections/n/vpn/%gconf.xml  works for me
(makes me able to establish the vpn). (As an aside, gconf-editor can be
used, instead of a text editor, to add the refuse-eap.) I am very
grateful to the author of the patch which adds refuse-eap as a
configurable item in the gui (but then again, the manual workaround
works fine too). But this is like nibbling at the edges of a much larger
problem, for example:

1. In 0.7, if you use the gui again, it overwrites your manual
workarounds, like refuse-eap.

2. I still cannot modify routes so that only some traffic goes through
the vpn while all other traffic goes through my internet gateway.

3. There are still dozens of other parameters which were configurable in
0.6.5 but which are not in 0.7. I don't know how many people here have
ever used 0.6.5 under Hardy, but that is why, in my previous post, I
showed a text equivalent of the gui for 0.6.5.

Does anyone know where 0.7 came from, and why it was the version which
was put in Intrepid, given the fairly large amount of bugs in 0.7, and
given the fact (please correct me if I'm wrong) that, according to my
understanding, each new release of Ubuntu starts with the latest Debian
unstable, and if I search within Unstable at debian.org (
http://packages.debian.org/search?keywords=network-
managersearchon=namessuite=unstablesection=all ) I get the following
versions:

network-manager: 0.6.6-2
network-manager-gnome: 0.6.6-2
network-manager-pptp: 0.6.5+svnhead2574+dfsg-2
network-manager-pptp-gnome: 0.6.5+svnhead2574+dfsg-2

and if I search within Experimental
(http://packages.debian.org/search?keywords=network-
managersearchon=namessuite=experimentalsection=all ) I get the
following versions:

network-manager: 0.7.0~svn4191-1
network-manager-gnome: 0.7.0~svn953-1
network-manager-pptp: 0.6.6+dfsg-2
network-manager-pptp-gnome: 0.6.6+dfsg-2

I'm wondering if network-manager-pptp 0.7 in Intrepid was simply a
mistake (a rather large one, if so), I also wonder if what Anthony
Mercatante said has any bearing: see
https://launchpad.net/ubuntu/intrepid/+source/network-manager-
pptp/0.6.5+svnhead2574-0ubuntu1 . I quote Anthony as follows:

* Due to misscomprehension with original maintainer, my previous svn sync was 
a regression, as I synched with 0.6.5 branch while he did with 0.7 beta and 
backported the sources for 0.6.x.
Reverting the packaging for the moment as we are late in the dev cycle to 
resync from svn and get potentially something unstable.
* Applyed patch 01_no_icon.dpatch
* Removed network-manager-gnome dependancy
* Added missing build-dep libnm-util-dev

Final note: I used aptitude, in Intrepid, to downgrade the five related
packages (network-manager, network-manager-gnome, network-manager-pptp,
libnm-glib0, libnm-util0) to what they were in Hardy, and mark them as
held at the older 0.6.6/0.6.5 version, and it works fine, just like the
good old days in Hardy. But I would not recommend the downgrade to
anyone unless you are willing to put up with the fact that the gui
update-manager and synaptic do not recognize the Held state of the five
packages, so they will both will keep telling you that upgrades are
available for the five.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-23 Thread kalyp
@jmcantrell: I just followed your instructions, I've been able to build
the package and it works perfectly fine now, thank you so much! I don't
know why but I couldn't make it work even by setting refuse-eap in
gconf-editor. But with the patched version it worked at first try.
Thanks!!

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-22 Thread William Loucks
I'm so desperate, that I just installed Jaunty Alpha 1 to see if there's
any improvement in network-manager-pptp; Jaunty has the same piece of
feces network-manager-pptp 0.7~~svn20081015t024626-0ubuntu3 . Please
pardon my colorful language, but this is unacceptable. I did some poking
around on debian.org, and I see that even Debian EXPERIMENTAL, which is
out there beyond UNSTABLE, has network-manager-pptp 0.6.6, not 0.7 !! I
give up. I'll keep the Jaunty Alpha 1 on a non-critical machine, and
keep an eye on what happens, if anything, with network-manager-pptp in
Jaunty. But at this point, I'm not holding my breath.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-22 Thread jmcantrell
@William Loucks:

I'm assuming you didn't even try my patch. I'm not sure what made you
think that installing Jaunty would improve anything. If a fix was
available, don't you think someone would have mentioned it somewhere?

The bottom line is that your whining isn't helping anything. People are
aware that there's a problem. Like I've said before, if stability was
anywhere near as critical an issue as you're proclaiming, then you
should have stuck with an LTS version.

Maybe it's time for you to whip out your editor and start contributing
something other than noise.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-22 Thread Tim
@Alexander Sack
Finally installed the network-manager-pptp from intrepid-proposed.  I needed to 
add refuse-eap via gconf-editor, not remember the password and put the domain 
on the username - however, it is all working now and I can easily connect to my 
corporate VPN once again.  Thanks for looking into the issue and getting a fix 
out there.

With all the complaining going on here, just wanted to thank you for the
hard work.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-22 Thread bim
FYI

Similarly, (even though I don't know what PPTP is 
- only that I can't understand how to get a wired 
connection to a router with intrepid) -

I have now given up on Intrepid and am starting 
my Linux experience with Hardy.

bim



At 2008/11/22 15:32, you wrote:
I'm so desperate, that I just installed Jaunty Alpha 1 to see if there's
any improvement in network-manager-pptp; Jaunty has the same piece of
feces network-manager-pptp 0.7~~svn20081015t024626-0ubuntu3 . Please
pardon my colorful language, but this is unacceptable. I did some poking
around on debian.org, and I see that even Debian EXPERIMENTAL, which is
out there beyond UNSTABLE, has network-manager-pptp 0.6.6, not 0.7 !! I
give up. I'll keep the Jaunty Alpha 1 on a non-critical machine, and
keep an eye on what happens, if anything, with network-manager-pptp in
Jaunty. But at this point, I'm not holding my breath.

--
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a direct subscriber
of the bug.

Status in “network-manager-pptp” source package in Ubuntu: Fix Released
Status in “pptp-linux” source package in Ubuntu: Invalid
Status in network-manager-pptp in Ubuntu Intrepid: Fix Committed
Status in pptp-linux in Ubuntu Intrepid: Invalid

Bug description:
To verify:
  1. check that you cannot connect to pptp and 
 you are using a NT-Domain in the conncetion config
  2. verify that this is your bug: leave the 
 NT-Domain field empty; instead encode it in username like:
   NT_DOMAIN\USERNAME (e.g. mydomain\myuser)
  3. upgrade to fixed package and see that it works without the trick in 2.


Binary package hint: network-manager-pptp

Package version: 0.7~~svn20080818t061112-0ubuntu1~nm1~hardy1
uname -a: Linux jim-d620 2.6.24-19-generic #1 
SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

I am testing the SVN version of network-manager 
0.7. I am attempting to connect to my employer's 
Windows PPTP VPN. Each time I try, the 
connection fails, displaying a pop-up message 
that says: The VPN connection 'Connection Name' 
failed because the VPN service stopped unexpectedly.

The relevant section of /var/log/syslog is:
Aug 18 15:15:13 jim-d620 NetworkManager: 
info  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Aug 18 15:15:13 jim-d620 NetworkManager: 
info  VPN service 
'org.freedesktop.NetworkManager.pptp' started 
(org.freedesktop.NetworkManager.pptp), PID 16601
Aug 18 15:15:13 jim-d620 NetworkManager: 
info  VPN service 
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Aug 18 15:15:13 jim-d620 NetworkManager: 
info  VPN service 
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Aug 18 15:15:13 jim-d620 NetworkManager: 
nm_vpn_connection_activate: assertion 
`nm_vpn_connection_get_vpn_state (connection) == 
NM_VPN_CONNECTION_STATE_PREPARE' failed
Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN plugin state changed: 3
Aug 18 15:15:13 jim-d620 pppd[16602]: Plugin 
/usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Aug 18 15:15:13 jim-d620 pppd[16602]: pppd 2.4.4 started by root, uid 0
Aug 18 15:15:13 jim-d620 pppd[16602]: Using interface ppp1
Aug 18 15:15:13 jim-d620 pppd[16602]: Connect: ppp1 -- /dev/pts/1
Aug 18 15:15:13 jim-d620 pptp[16603]: 
nm-pptp-service-16601 log[main:pptp.c:267]: The 
synchronous pptp option is NOT activated
Aug 18 15:15:13 jim-d620 NetworkManager: 
info  VPN connection 'Connection Name' (Connect) reply received.
Aug 18 15:15:15 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control 
packet type is 1 'Start-Control-Connection-Request'
Aug 18 15:15:16 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Aug 18 15:15:16 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Aug 18 15:15:16 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control 
packet type is 7 'Outgoing-Call-Request'
Aug 18 15:15:17 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Aug 18 15:15:17 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call 
established (call ID 0, peer's call ID 11881).
Aug 18 15:15:18 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
Aug 18 15:15:18 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]:   send_accm is , recv_accm is 
Aug 18 15:15:18 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async 
Control Character Maps are not supported!
Aug 18 15:15:19 jim-d620 pptp[16607]: 
nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
Aug 18 

[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-22 Thread 1longtime
@Alexander Sack RE: 1longtime, your issue is most likely bug 268667

This was the first one I tried and bug 268667 fixed my problem.  Thanks
Alexander.  After trying the suggested fix in that bug, my VPN connects
successfully.

Oddly, when I tried to undo the fix, it continued to connect properly.

@Martin Pitt RE: intrepid-proposed updates

I did an apt-get upgrade with entrepid-proposed sources several days
ago, before  verified the source had updated (and accidentally updated
quite a bit more than I expected... oops).  I just did another apt-get
update/upgrade and found updates for a number of packages, including a
couple of pptp packages.

The VPN problem is still fixed, but because I couldn't rollback the
fixes from bug 268667 we can't be certain that the updates fixed my
issue.

@jmcantrell

Could not find advanced-dialog.c.  I'm not sure how to apply your patch.

Another side-note:  manually adding refuser-eap to ppp options fixed
ONE of my Ubuntu boxes but not the other (the one I've been fighting
with in this thread).  Strange.

Thanks all for the help, but it was a very disruptive bug.  Kinda shakes
the faith a bit...

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread Alexander Sack
1longtime, your issue is most likely bug 268667 ... the proposed fix
should be available in intrepid-proposed. please test that package and
report bug (at best in the bug above). Also double check that you have
MPPE encryption enabled.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread jmcantrell
I just updated from proposed. I'm not sure what I'm supposed to be
seeing. The EAP option is still missing from the list, as well.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread William Loucks
Mr. Sack,

You wrote, Longtime, your issue is most likely bug 268667. I mean no
disrespect, but when I point my browser at
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/268667
and search within the page for the 3-character string, eap, THE SEARCH
FAILS. So I ask: How can you possibly in your wildest imagination
suggest that bug 268667 is my issue?

Let me state my issue as clearly as I can: (My issue is both eap and
custom routing, but I'll just state the most critical of the two):

network-manager-pptp 0.7 in Intrepid does not allow refuse-eap to be
set, which results in eap being enabled, which results in the following
in /var/log/syslog :

Nov 21 08:35:10 hostname pppd[5949]: EAP: peer reports authentication
failure

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread jmcantrell
I have a patch for the EAP interface bug. I'm trying to figure out the MPPE
interface bug, as well. I'll post here when I'm done.

-- 
:wq


On Fri, Nov 21, 2008 at 10:40, William Loucks [EMAIL PROTECTED] wrote:

 Mr. Sack,

 You wrote, Longtime, your issue is most likely bug 268667. I mean no
 disrespect, but when I point my browser at
 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/268667
 and search within the page for the 3-character string, eap, THE SEARCH
 FAILS. So I ask: How can you possibly in your wildest imagination
 suggest that bug 268667 is my issue?

 Let me state my issue as clearly as I can: (My issue is both eap and
 custom routing, but I'll just state the most critical of the two):

 network-manager-pptp 0.7 in Intrepid does not allow refuse-eap to be
 set, which results in eap being enabled, which results in the following
 in /var/log/syslog :

 Nov 21 08:35:10 hostname pppd[5949]: EAP: peer reports authentication
 failure

 --
 Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
 https://bugs.launchpad.net/bugs/259168
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread jmcantrell
This patch fixes the EAP interface bug for me. I'm still looking at the
MPPE interface bug. I would add the package itself to my PPA, but I'm
not sure how. If anyone can help me with that, I'd be glad to upload it.

** Attachment added: Fix for EAP interface bug
   http://launchpadlibrarian.net/19837807/advanced-dialog.c.patch

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread jmcantrell
I should also mention that this patch was done against the latest
package from proposed.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-21 Thread jmcantrell
This patch fixes both the EAP and MPPE interface bugs for me. Again, if
someone can help me get familiar with working with my PPA, I'll upload a
package. Until then, here's the patch.

** Attachment added: Fix for EAP and MPPE interface bugs
   http://launchpadlibrarian.net/19840800/advanced-dialog.c.patch

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread Martin Pitt
** Changed in: network-manager-pptp (Ubuntu)
   Target: intrepid-updates = None

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread Martin Pitt
Accepted into intrepid-proposed, please test and give feedback here.
Please see https://wiki.ubuntu.com/Testing/EnableProposed for
documentation how to enable and use -proposed. Thank you in advance!

** Changed in: network-manager-pptp (Ubuntu Intrepid)
   Status: In Progress = Fix Committed
   Target: intrepid-updates = None

** Tags added: verification-needed

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread 1longtime
Any fix for this?

Many users have experienced this bug, Google around and see the numerous
forums.  VPN connections were working fine until I upgraded from Ubuntu
8.04 to 8.10.

VERY disappointing to find bugs for important services after an upgrade.


I have the exact same output in /var/log/syslog as in this bug description:

Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]: send_accm is , recv_accm is 
Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not 
supported!
Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]: send_accm is , recv_accm is 
Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not 
supported!
Aug 18 15:15:19 jim-d620 pppd[16602]: LCP terminated by peer (wM-(?^@[EMAIL 
PROTECTED]@^BM-3)
Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:911]: Received Call Clear Request.
Aug 18 15:15:22 jim-d620 pppd[16602]: Connection terminated.
Aug 18 15:15:22 jim-d620 pppd[16602]: Modem hangup

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread houstonbofh
1longtime wrote:
 Any fix for this?
 
 Many users have experienced this bug, Google around and see the numerous
 forums.  VPN connections were working fine until I upgraded from Ubuntu
 8.04 to 8.10.
 
 VERY disappointing to find bugs for important services after an upgrade.

While I agree, we do have a fix in proposed and it could use a lot of 
testing.  Grab it and post back.  (Under Software Sources, enable 
proposed and find the update. Update only it {unless you want to test 
everything} and disable proposed to make normal updates easier.)

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread 1longtime
Excuse me, I just read the comments RE: package fix, but it does not fix
the problem..  As a separate forum suggestion, I previously added to my
sources.list (but this did not fix the bug):

deb http://ppa.launchpad.net/network-manager/ubuntu intrepid main

...and after reading the above comments, I also added the intrepid-
proposed to sources.list (but I did not see network-manager updated, I
assume the above network-manager source entry already did that?).

THIS BUG STILL EXISTS.  What can I provide to help fix this?  This VPN
connection worked for half a year until I updated to 8.04 to 8.10.  It
should be marked with high importance, I suspect that many users are
affected.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread Martin Pitt
Sorry, the update isn't built yet, our buildds are clogged. I bumped the
priority of this now, it should be available on archive.ubuntu.com in
about 3 hours, and on the mirrors some hours later.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-20 Thread William Loucks
We have been asked that if we are having troubles other than Bad NT-
Domain escaping, to create another bug. I am fully willing to do that,
because I do indeed have other problems, but I see there are 4
duplicates of THIS bug, plus at least half a dozen other bugs for
network-manager-pptp in Intrepid, so by way of attempting to NOT create
another bug for my problems if one already exists, I spent the time,
below, to create a text-format description of network-manager-pptp
version 0.6.5's dialog, Edit VPN Connection, which worked fine for me
in Hardy, most notably, in my case, for refuse-eap and the custom
routing. I have not yet found an already-existing bug for Intrepid's
network-manager-pptp which matches my problems, but if anyone knows of
THE bug which matches my problems (specifically  refuse-eap and the
custom routing), then please let me know its number. I will then wait
awhile and see if anyone has found such an already-existing bug for
Intrepid, and if so, then I will PROMPTLY subscribe to it; otherwise,
I'll create the new bug. Now on with the show. Below is a TEXT FORMAT
translation of the 0.6.5 GUI Edit VPN Connection:

network-manager-pptp 0.6.5 in Hardy
The Dialog window labeled Edit VPN Connection, a multi-tabbed dialog:

Tab labeled Connection
  Free-form text entry labeled Connection Name
  Checkbox: Requires existing network connection
  Drop-down list with only one entry: Windows VPN (PPTP)
  Free-form text entry labeled Gateway
Tab labeled Authentication
  Checkbox: Authenticate Peer
  Checkbox: Refuse EAP
  Checkbox: Refuse CHAP
  Checkbox: Refuse MS CHAP
Tab labeled Compression  Encryption
  Group labeled Compression
Checkbox: Require MPPC Compression
Checkbox: Allow Deflate compression
Checkbox: Allow BSD Compression
  Group labeled Encryption
Checkbox: Require MPPE encryption
Checkbox: Require 128 bit MPPE encryption
Checkbox: Enable stateful MPPE
Tab labeled PPP Options
  Free-form text entry labeled Custom PPP options
  Group labeled IP Options
Checkbox: Use Peer DNS
Checkbox: Require explicit IP Addr
Checkbox: Exclusive device access (UUCP-style lock)
Checkbox: Debug output
  Group labeled Packet Parameters
Drop-down list with up/down arrows AND free-form text entry labeled MTU
Drop-down list with up/down arrows AND free-form text entry labeled MRU
  Group labeled Delays and TImeouts
Drop-down list with up/down arrows AND free-form text entry labeled 
connect-delay
Drop-down list with up/down arrows AND free-form text entry labeled 
lcp-echo-failure
Drop-down list with up/down arrows AND free-form text entry labeled 
lcp-echo-interval
Tab labeled Routing
  Checkbox: Peer DNS through tunnel
  Checkbox: Only use VPN connections for these addresses
Free-form text entry below which is the text, example: 172.16.0.0/16 
10.11.12.0/24

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-19 Thread Alexander Sack
we use this bug to track the bogus NT-Domain encoding. The lack of
essential ppp options part is tracked in bug 268667.

If you have other issues, we need a new bug.

** Summary changed:

- Network Manager unable to connect to PPTP VPN
+ Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-19 Thread Alexander Sack
this means: if it still doesnt work for you with the current network-
manager PPA packages, we need a new/different bug.

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-19 Thread Alexander Sack
initiating intrepid sru.

** Description changed:

+ To verify:
+  1. check that you cannot connect to pptp and you are using a NT-Domain in 
the conncetion config
+  2. verify that this is your bug: leave the NT-Domain field empty; instead 
encode it in username like:
+   NT_DOMAIN\USERNAME (e.g. mydomain\myuser)
+  3. upgrade to fixed package and see that it works without the trick in 2.
+ 
+ 
  Binary package hint: network-manager-pptp
  
  Package version: 0.7~~svn20080818t061112-0ubuntu1~nm1~hardy1
  uname -a: Linux jim-d620 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 
2008 i686 GNU/Linux
  
  I am testing the SVN version of network-manager 0.7. I am attempting to
  connect to my employer's Windows PPTP VPN. Each time I try, the
  connection fails, displaying a pop-up message that says: The VPN
  connection 'Connection Name' failed because the VPN service stopped
  unexpectedly.
  
  The relevant section of /var/log/syslog is:
  Aug 18 15:15:13 jim-d620 NetworkManager: info  Starting VPN service 
'org.freedesktop.NetworkManager.pptp'... 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN service 
'org.freedesktop.NetworkManager.pptp' started 
(org.freedesktop.NetworkManager.pptp), PID 16601 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN service 
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN service 
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections 
  Aug 18 15:15:13 jim-d620 NetworkManager: nm_vpn_connection_activate: 
assertion `nm_vpn_connection_get_vpn_state (connection) == 
NM_VPN_CONNECTION_STATE_PREPARE' failed
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN plugin state changed: 3 
  Aug 18 15:15:13 jim-d620 pppd[16602]: Plugin 
/usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
  Aug 18 15:15:13 jim-d620 pppd[16602]: pppd 2.4.4 started by root, uid 0
  Aug 18 15:15:13 jim-d620 pppd[16602]: Using interface ppp1
  Aug 18 15:15:13 jim-d620 pppd[16602]: Connect: ppp1 -- /dev/pts/1
  Aug 18 15:15:13 jim-d620 pptp[16603]: nm-pptp-service-16601 
log[main:pptp.c:267]: The synchronous pptp option is NOT activated 
  Aug 18 15:15:13 jim-d620 NetworkManager: info  VPN connection 'Connection 
Name' (Connect) reply received. 
  Aug 18 15:15:15 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 
'Start-Control-Connection-Request' 
  Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
  Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
  Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 
'Outgoing-Call-Request' 
  Aug 18 15:15:17 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
  Aug 18 15:15:17 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's 
call ID 11881). 
  Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
  Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]:   send_accm is , recv_accm is 
  Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not 
supported!
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:952]:   send_accm is , recv_accm is 
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not 
supported!
  Aug 18 15:15:19 jim-d620 pppd[16602]: LCP terminated by peer (wM-(?^@[EMAIL 
PROTECTED]@^BM-3)
  Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_disp:pptp_ctrl.c:911]: Received Call Clear Request.
  Aug 18 15:15:22 jim-d620 pppd[16602]: Connection terminated.
  Aug 18 15:15:22 jim-d620 pppd[16602]: Modem hangup
  Aug 18 15:15:22 jim-d620 pptp[16603]: nm-pptp-service-16601 
warn[decaps_hdlc:pptp_gre.c:197]: short read (-1): Input/output error
  Aug 18 15:15:22 jim-d620 pptp[16603]: nm-pptp-service-16601 
warn[decaps_hdlc:pptp_gre.c:209]: pppd may have shutdown, see pppd log
  Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
  Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 
'Call-Clear-Request' 
  Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 

[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-19 Thread Alexander Sack
uploading network-manager-
pptp_0.7~~svn20081015t024626-0ubuntu1.8.10.1_source.changes to ubuntu
/intrepid-proposed

uploading network-manager-
pptp_0.7~~svn20081015t024626-0ubuntu2_source.changes to ubuntu/jaunty

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 259168] Re: Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)

2008-11-19 Thread Launchpad Bug Tracker
This bug was fixed in the package network-manager-pptp -
0.7~~svn20081015t024626-0ubuntu2

---
network-manager-pptp (0.7~~svn20081015t024626-0ubuntu2) jaunty; urgency=low

  * LP: #259168 Network Manager unable to connect to PPTP VPN (bad NT-Domain
escaping); we improve ppp domain in username encoding
- add debian/patches/lp259168_ppp_nt_domain_escaping.patch
  * LP: #268667 MASTER - not all required ppp options get set on command line
which makes ppp use bad values from /etc/ppp/options*; we explicitly set
good values for: nodefaultroute, lcp-echo-failure and lcp-echo-interval
- add debian/patches/lp268667_ppp_default_options.patch
  * LP: #292681 crash when running auth-dialog and secret in keyring;
we use the proper memory functions in this patch (dupe-of LP: #284212
VPN connection fails: unable to find valid VPN secrets)
- add debian/patches/lp_292681_keyring_memory_free.patch
  * LP: #290468 VPN fails, /usr/bin/nm-ppp-starter missing; we remove
obsolete conffiles in .preinst now
- add debian/network-manager-pptp.preinst

 -- Alexander Sack [EMAIL PROTECTED]   Thu, 30 Oct 2008 00:22:51 +0100

** Changed in: network-manager-pptp (Ubuntu)
   Status: Triaged = Fix Released

-- 
Network Manager unable to connect to PPTP VPN (bad NT-Domain escaping)
https://bugs.launchpad.net/bugs/259168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs