Vpn plugin isn't invoking my save_secrets()
- From: Eivind Naess <eivnaes yahoo com>
- To: networkmanager-list gnome org
- Subject: Vpn plugin isn't invoking my save_secrets()
- Date: Tue, 29 Mar 2011 13:44:37 -0700 (PDT)
Hi All,
I am compiling the following packages from sources on my Ubuntu system:
* NetworkManager
* network-manager-applet
* network-manager-pptp
Then I am trying to port the network-manager-pptp to network-manager-sstp (a new
project). That aside, the pptp or my sstp projects seems to have the same
problem in getting/setting the password. I use the nm-connection-editor and add
the new connection. But it doesn't seem like the password is getting retrieved
successfully. I am also not seeing the dispatch of the call
plugin->save_secrets as defined by the vpn plugin code.
Looking at the debug output of NetworkManager below, I am pretty clueless on how
to continue debugging this. It seems like the invocation of a dbus call fails
and returns "(null)". This is the value that I see when I re-open the
connection's preferences and unmasks the password. Changing the "Allow all
users" doesn't seem to make a difference. I also sprinkled a bunch of messages,
looked through the mailing lists, and tried the nm_setting_vpn_add_secret call
as it was suggested by the mailing list, and done by network-manager-vpnc. Any
help is appreciated!
Please advice,
- Eivind
lt-NetworkManager[8000]: <debug> [1301430356.183769] [nm-agent-manager.c:1005]
nm_agent_manager_get_secrets(): Secrets requested for connection
/org/freedesktop/NetworkManager/Settings/0 (vpn)
lt-NetworkManager[8000]: <debug> [1301430356.183858] [nm-agent-manager.c:538]
request_add_agent(): (:1.46/org.freedesktop.nm-applet/1000) agent allowed for
secrets request 0x8387978/vpn
lt-NetworkManager[8000]: <debug> [1301430356.183889]
[nm-settings-connection.c:714] nm_settings_connection_get_secrets():
(9d903ca7-fb3f-4321-9208-d8f3bbe234c3/vpn:2) secrets requested flags 0x0 hint
'(null)'
lt-NetworkManager[8000]: <debug> [1301430356.184273] [nm-agent-manager.c:928]
get_start(): (0x8387978/vpn) system settings secrets insufficient, asking agents
lt-NetworkManager[8000]: <debug> [1301430356.184301] [nm-agent-manager.c:613]
next_generic(): (:1.46/org.freedesktop.nm-applet/1000) agent getting secrets for
request 0x8387978/vpn
lt-NetworkManager[8000]: <debug> [1301430356.184322] [nm-agent-manager.c:884]
get_next_cb(): (0x8387978/vpn) requesting user-owned secrets from agent :1.46
lt-NetworkManager[8000]: <debug> [1301430356.388637] [nm-agent-manager.c:678]
get_done_cb(): (:1.46/org.freedesktop.nm-applet/1000) agent returned secrets for
request 0x8387978/vpn
lt-NetworkManager[8000]: <debug> [1301430356.388713]
[nm-settings-connection.c:533] agent_secrets_done_cb():
(9d903ca7-fb3f-4321-9208-d8f3bbe234c3/vpn:2) secrets returned from agent :1.46
lt-NetworkManager[8000]: <debug> [1301430356.388743]
[nm-settings-connection.c:576] agent_secrets_done_cb():
(9d903ca7-fb3f-4321-9208-d8f3bbe234c3/vpn:2) secrets request completed
lt-NetworkManager[8000]: <debug> [1301430356.389235]
[nm-settings-connection.c:615] agent_secrets_done_cb():
(9d903ca7-fb3f-4321-9208-d8f3bbe234c3/vpn:2) new agent secrets processed
lt-NetworkManager[8000]: <debug> [1301430382.537429] [nm-agent-manager.c:1133]
nm_agent_manager_save_secrets(): Saving secrets for connection
/org/freedesktop/NetworkManager/Settings/0
lt-NetworkManager[8000]: <debug> [1301430382.546915] [nm-agent-manager.c:538]
request_add_agent(): (:1.46/org.freedesktop.nm-applet/1000) agent allowed for
secrets request 0x83a44d8/(null)
lt-NetworkManager[8000]: <debug> [1301430382.547282] [nm-agent-manager.c:613]
next_generic(): (:1.46/org.freedesktop.nm-applet/1000) agent saving secrets for
request 0x83a44d8/(null)
lt-NetworkManager[8000]: <debug> [1301430392.558166] [nm-agent-manager.c:1071]
save_done_cb(): (:1.46/org.freedesktop.nm-applet/1000) agent failed save secrets
request 0x83a44d8/(null): (4) Did not receive a reply. Possible causes include:
the remote application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network connection was
broken.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]