Summary: | [openconnect] GlobalProtect with SSO does not detect successful login flow | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Malte S. Stretz <mss> |
Component: | Networking in general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | nate, nicolas.fella |
Priority: | HI | ||
Version First Reported In: | 6.3.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot |
Description
Malte S. Stretz
2025-05-21 20:06:31 UTC
Created attachment 181627 [details]
Screenshot
This https://invent.kde.org/exzombie/plasma-nm/-/blob/v6.2.2/vpn/openconnect/openconnectauth.cpp?ref_type=tags#L540 looks like it should pass the correct info to https://gitlab.com/openconnect/openconnect/-/blob/v9.12/gpst.c?ref_type=tags#L1372. I just wonder if those other signals here https://invent.kde.org/exzombie/plasma-nm/-/blob/v6.2.2/vpn/openconnect/openconnectauth.cpp?ref_type=tags#L639 which also trigger openconnect_webview_load_changed but without any headers might cause an issue. *** This bug has been marked as a duplicate of bug 479937 *** Not a duplicate of 479937: It looks like that one doesn't use SSO and the OpenConnect client is actually successfully started, it just fails to connect properly or the NM widget fails to detect that state. In this case the SSO embedded browser window pops up, authentication there is successful but at the end the flow just restarts. Ie. the successful authentication is not detected (should happen based on the headers). The journal only shows the "org.kde.plasma.nm.kded: Unhandled VPN connection state change: NetworkManager::VpnConnection::NeedAuth" from that other report bbut nothing afterwards. There is some apparmor DENIED logged for kded6 though: Aug 20 07:31:00 localhost wpa_supplicant[1038]: wl: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-43 noise=9999 txrate=400000 Aug 20 07:31:09 localhost NetworkManager[1167]: <info> [1755667869.0807] audit: op="statistics" interface="wl" ifindex=3 args="2000" pid=1715 uid=1000 result="success" Aug 20 07:31:15 localhost plasmashell[1715]: QDBusObjectPath: invalid path "" Aug 20 07:31:15 localhost NetworkManager[1167]: <info> [1755667875.8701] vpn[0x5ffcee2de320,34f18b94-b6bb-46c4-a7db-1db0e5a129ae,"VPN"]: starting openconnect Aug 20 07:31:15 localhost NetworkManager[1167]: <info> [1755667875.8736] audit: op="connection-activate" uuid="34f18b94-b6bb-46c4-a7db-1db0e5a129ae" name="VPN" pid=1715 uid=1000 result="success" Aug 20 07:31:15 localhost kded6[1628]: org.kde.plasma.nm.kded: Unhandled VPN connection state change: NetworkManager::VpnConnection::NeedAuth Aug 20 07:31:15 localhost kwalletd6[1857]: kf.wallet.kwalletd: "Item not found" Aug 20 07:31:16 localhost generate[84079]: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others. Aug 20 07:31:16 localhost systemd[1]: Reloading requested from client PID 84082 ('systemctl') (unit NetworkManager.service)... Aug 20 07:31:16 localhost systemd[1]: Reloading... Aug 20 07:31:17 localhost systemd[1]: Reloading finished in 779 ms. Aug 20 07:31:17 localhost systemd[1]: anacron.service - Run anacron jobs was skipped because of an unmet condition check (ConditionACPower=true). Aug 20 07:31:17 localhost systemd[1]: apt-daily.service - Daily apt download activities was skipped because of an unmet condition check (ConditionACPower=true). Aug 20 07:31:17 localhost systemd[1]: Starting motd-news.service - Message of the Day... Aug 20 07:31:17 localhost systemd[1]: motd-news.service: Deactivated successfully. Aug 20 07:31:17 localhost systemd[1]: Finished motd-news.service - Message of the Day. Aug 20 07:31:17 localhost kwalletd6[1857]: kf.wallet.kwalletd: "Item not found" Aug 20 07:31:29 localhost kernel: audit: type=1400 audit(1755667889.152:185): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=1628 comm="kded6" requested="userns_creat> Aug 20 07:31:29 localhost kernel: audit: type=1400 audit(1755667889.165:186): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=84217 comm="kded6" capability=21 capname="sys_admin" |