I look at nm_setting_vpn_get_secret. nm_setting_vpn_get_secret (NMSettingVPN *setting, const char *key) { g_return_val_if_fail (NM_IS_SETTING_VPN (setting), NULL);
return (const char *) g_hash_table_lookup (NM_SETTING_VPN_GET_PRIVATE (setting)->secrets, key); } It's return TRUE in one case, if setting->secrets has a key. NULL we can get in two cases, if 'settings' has a wrong type and if there is no key in 'settings -> secrets'. You say that setting already verified, than something wrong with settings -> secrets. May be something wrong with rights when reading secrets? Sorry for bad english. -- NetworkManager.vpn fails -- nm-vpn-connection.c.900: NeedSecrets https://bugs.launchpad.net/bugs/360818 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