Summary: | CA certificate, certificate and private key filenames with non-latin characters are not correctly saved. | ||
---|---|---|---|
Product: | [Unmaintained] Network Management | Reporter: | Zhang Hongjiu <noctuorare> |
Component: | OpenVPN | Assignee: | Lamarque V. Souza <lamarque> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.9 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot of configuration (1)
Screenshot of configuration (2) |
Description
Zhang Hongjiu
2012-01-05 17:20:19 UTC
Can you add screenshots of the problem? It would make things easier for me to try to figure out what could be wrong. Anyway, it is NetworkManager that write manages the files in /etc/NetworkManager/system-connections, it is likely the problem is in NM. Created attachment 67500 [details]
Screenshot of configuration (1)
This is the screenshot when I just finished the settings and did not save. The 7 textboxs in the tab are (from top to bottom) "Gateway", "CA certificate", "Certificate", "Private key", "Private key password", "Username", "Password".
Created attachment 67501 [details]
Screenshot of configuration (2)
This is the screenshot of saved configuration.
I did not find the correct saving command in nmcli. How to test the saving function of NetworkManager?
Thank you for your help.
nmcli does not create connections, for that you need Plasma NM, nm-applet or edit the files in /etc/NetworkManager/system-connections/ directly. Actually, can you do this test for me: . edit your connection's configuration file in /etc/NetworkManager/system-connections; . edit the entries "ca", "cert", "key" to contains the correct path; . stop NetworkManager (usually /etc/init.d/NetworkManager stop should work); . start NetworkManager (/etc/init.d/NetworkManager start); . open the edit dialog in Plasma NM and see if the paths are connect or not. If they are connect them there is something wrong only when saving the connection. If they are not correct then test is inconclusive. Oh, I think I did that "test" for many times. :) The current system-conneciton configurations are manually modified by myself. I just did /etc/init.d/NetworkManager stop && /etc/init.NetworkManager start. The paths in the edit dialog are correct. In fact, this is how I get the screenshot-1. Git commit cdb37d47762cfb5780e520b83f5e6b70d34dea89 by Lamarque V. Souza. Committed on 07/01/2012 at 04:26. Pushed by lvsouza into branch 'master'. Use QString instead of QByteArray to represent file paths. M +1 -1 plasma_nm_version.h M +1 -1 vpnplugins/novellvpn/novellvpnwidget.cpp M +4 -4 vpnplugins/openconnect/openconnectwidget.cpp M +8 -8 vpnplugins/openvpn/openvpnwidget.cpp M +4 -4 vpnplugins/strongswan/strongswanwidget.cpp M +1 -1 vpnplugins/vpnc/vpncwidget.cpp http://commits.kde.org/networkmanagement/cdb37d47762cfb5780e520b83f5e6b70d34dea89 Git commit b4c8891c43f2f12f129352a5996acf3786b8b0f3 by Lamarque V. Souza. Committed on 07/01/2012 at 04:26. Pushed by lvsouza into branch 'nm09'. Use QString instead of QByteArray to represent file paths. M +1 -1 plasma_nm_version.h M +1 -1 vpnplugins/novellvpn/novellvpnwidget.cpp M +4 -4 vpnplugins/openconnect/openconnectwidget.cpp M +8 -8 vpnplugins/openvpn/openvpnwidget.cpp M +4 -4 vpnplugins/strongswan/strongswanwidget.cpp M +1 -1 vpnplugins/vpnc/vpncwidget.cpp http://commits.kde.org/networkmanagement/b4c8891c43f2f12f129352a5996acf3786b8b0f3 |