Summary: | Can't connect via VPNC, wrong username | ||
---|---|---|---|
Product: | Network Management | Reporter: | Dominik Schmidt <kde> |
Component: | VPNC | Assignee: | Will Stephenson <wstephenson> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | normal | CC: | chrschmitt, echidnaman, gizz, kfunk, lamarque, mail, whitecloudboy00 |
Priority: | NOR | ||
Version: | 0.9 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Dominik Schmidt
2009-09-25 16:45:13 UTC
Maybe this is also helpful: (it's the system wide available connection: qdbus --system --literal org.freedesktop.NetworkManagerSystemSettings /org/freedesktop/NetworkManagerSettings/1 org.freedesktop.NetworkManagerSettings.Connection.GetSettings) a{sa{sv}} { "vpn" = [Argument: a{sv} { "service-type" = [Variant(QString): "org.freedesktop.NetworkManager.vpnc"], "data" = [Variant: [Argument: a{ss} { "IPSec ID" = "vpnoutside", "IPSec gateway" = "vpnserver.uni-dortmund.de", "NAT Traversal Mode" = "natt", "Xauth username" = "sm******"}]], "secrets" = [Variant: [Argument: a{ss} {}]]}], "ipv4" = [Argument: a{sv} { "routes" = [Variant: [Argument: aau {}]], "addresses" = [Variant: [Argument: aau {}]], "method" = [Variant(QString): "auto"], "dns" = [Variant: [Argument: au {}]]}], "connection" = [Argument: a{sv} { "id" = [Variant(QString): "VPN-Verbindung 1"], "uuid" = [Variant(QString): "81305fc7-5d11-447e-a035-549c040b1ff5"], "type" = [Variant(QString): "vpn"]}] } SVN commit 1028281 by wstephens: NetworkManager keeps getting weirder. VPN connections' username is always the logged in user name. CCBUG: 208513 M +1 -1 libs/internals/schemas/vpn.kcfg M +3 -2 libs/internals/settings/vpnpersistence.cpp M +0 -1 vpnplugins/vpnc/vpncwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1028281 I've fixed the wrong username bug. Please test. I notice that the traversal type NAT-T is not present in your knetworkmanager dbus output, but is present in the nm-applet output. However, when I set this traversal type in knetworkmanager, I can see in the dbus output. Could you verify that NAT-T is selected in your connection? Yes, nat-t was not present when I got the data from dbus but added it after that (showed up in the config and dbus then as well) and didn't want to do the formatting again or insert it manually. Sorry for not making this clear enough :-) Still no luck with this configuration: a{sa{sv}}(==connection== autoconnect: false id: udo 1028640 type: vpn uuid: 186eca2c-ad64-4a9b-9e81-c5db69ab25ff ==vpn== data: a{ss}(IPSec ID: vpnoutside IPSec gateway: vpnserver.uni-dortmund.de NAT Traversal Mode: natt Xauth username: sm****** ipsec-secret-type: save xauth-password-type: save ) secrets: a{ss}() service-type: org.freedesktop.NetworkManager.vpnc user-name: domme ) By the way: Shouldn't knm4 show any error message if only logging in fails although the connection is successfully established? You could try to connect to the server with wrong login data and this way test it yourself :-) Group Password is "hrzvpnclient". If nothing else helps, maybe I could provide you with my login name and password. (In reply to comment #2) > SVN commit 1028281 by wstephens: > > NetworkManager keeps getting weirder. VPN connections' username is > always the logged in user name. So does this mean, one cannot use a different user name than the login name? I just googled around and found this (in german): http://www.univie.ac.at/ZID/anleitungen-vpn/ubuntu/ In nm-applet there seems to be an "override username" option, maybe this flag has to be set in the NM connection properties? Not being able to specify a custom VPN login would be bad No, look in the Optional group - you can set your username there. In a VPNC connection there are 2 user name fields, Xauth username and user-name. user-name seems to be always set to your system username so i assume it is an implementation detail not exposed to the VPNC service. Xauth username seems to be the more interesting setting. The instructions in the URL you googled relate to the old 0.6 NetworkManager version which we don't support. thanks for clarification. indeed, xauth is some kind of login method in vpnc - I mixed it up with the Xauthority. So I guess the user name is just some (random) user id which me be displayed oder logged somewhere, so this doesn't matter. *** Bug 212073 has been marked as a duplicate of this bug. *** Just having the same problem. I appreciate all the hard work. If you need additional information please let me know. Will work around problem for now... Is this still happening? I use a VPNC connection in Plasma NM for testing and it works for me. |