Bug 412556

Summary: [RFE] Add option to always ask for a username when connecting to a wireless network
Product: [Applications] systemsettings Reporter: pier andre <pier_andreit>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: CONFIRMED ---    
Severity: wishlist CC: jgrulich, kde, nate
Priority: LO    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pier andre 2019-10-03 11:57:34 UTC
SUMMARY
This bug doesn't allow me to use linux in my company.
In my company each person who can use network has his own personal credentials username and password.
If I try to set an automatic connection with networkmanager that ask username and password at login it result impossible.
Is it possible to set a connection with a username and set the connection to "ask for this password every time" but not "ask for this useername every time".
There should be possible to do this becouse in my usercase it is mandatory to connect to network with own username and password.
The laptops are for general use dedicated to some instruments and have many users that use a standard login with common password and to connect to network they use theyr own credentials username and password


STEPS TO REPRODUCE
1.  open network connection>MY_wireless>general configuration tab, connect automatically with priority is checked, >WIFi security tab, password is empty, ask for this password every time is checked, remove username, click OK
2. reopen network connection>MY_wireless>g>WIFi security tab, password is empty, ask for this password every time is checked, username il always there
3. 

OBSERVED RESULT
at login a popup ask only for password

EXPECTED RESULT
at login a popup ask for username and password
there should be a similar setting as for the password "ask for this password every time" also for the username "ask for this useername every time"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: leap 15.1
KDE Plasma Version: 5.16.90
KDE Frameworks Version: 5.62.0
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-10-14 22:34:31 UTC
Just to make really sure I understand this correctly.

You have a setup where everyone logs into the laptop with the same credentials then logs onto the wifi with unique credentials.
Comment 2 Jan Grulich 2019-10-15 05:13:28 UTC
What type of wireless security do you use? Is that for WPA/WPA2 enterprise?
Comment 3 pier andre 2019-10-17 11:50:32 UTC
(In reply to David Edmundson from comment #1)
> Just to make really sure I understand this correctly.
> 
> You have a setup where everyone logs into the laptop with the same
> credentials then logs onto the wifi with unique credentials.

Yes, same login credentials for everybody and unique wifi credentials, the laptops are dedicated to some instrument and many persons have access at the laptops, the person who access has to insert his own username and password to access the network.
Comment 4 pier andre 2019-10-17 11:53:50 UTC
(In reply to Jan Grulich from comment #2)
> What type of wireless security do you use? Is that for WPA/WPA2 enterprise?

this https://susepaste.org/52045119 
security=WPA/WPA2 enterprise
autentication=protected EAP/PEAP
inner autentication=MSCHAPv2
Comment 5 Jan Grulich 2019-10-18 10:54:30 UTC
This can be in theory implemented, but because NetworkManager doesn't support anything like that, we would be implementing this feature ourself, which frankly is really specific use-case and it's unlikely going to be implemented anytime soon.
Comment 6 pier andre 2019-10-24 15:15:34 UTC
It's not so rare usercase to ask network username and password, in all the university and laboratories in europe I visited I used my eduroam username and password to access the network.
You say "NetworkManager doesn't support anything like that" do you think I have to ask to the guys that develop NetworkManager?? or are you that develope NetworkManager?
Ciao Pier :-)
Comment 7 David Edmundson 2019-10-24 15:52:09 UTC
Upstream NetworkManager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues

You can ask there.