Not possible to change username for connection WPA2 Enterprise TTLS with option "Ask for this password every time"

Bug #989036 reported by Roman Shipovskij
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Triaged
Low
Mathieu Trudel-Lapierre

Bug Description

release: Ubuntu 12.04 LTS
package: network-manager-gnome 0.9.4.1-0ubuntu2

now we are using Ubuntu 10.04 LTS with network-manager 0.8.4 from https://launchpad.net/~network-manager/+archive/ppa
wireless connection WPA2 Enterprise TTLS configured for asking password every time
every user, when connecting can enter own username and password in dialog window

i try do that on 12.04, all looks good when i create connection
but after reconnecting i can't enter another username
in dialog window username entry not editable, only password can be entered

i must run nm-connection-editor for changing username

a lot of people use same pc, and every must edit connection to enter own username

on 10.04 it worked perfectly without editing the connection

Revision history for this message
Roman Shipovskij (roman-shipovskij) wrote :
Revision history for this message
Roman Shipovskij (roman-shipovskij) wrote :
Revision history for this message
Roman Shipovskij (roman-shipovskij) wrote :
Revision history for this message
Roman Shipovskij (roman-shipovskij) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

You really should use a different user for each person who needs this connection and make the connection "per-user", by unchecking "Available to all users". This should cover this particular issue well.

However, I do agree that the username field perhaps doesn't need to be unsensitive; we'll see about fixing this.

Changed in network-manager-applet (Ubuntu):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Thiago Lopes (6-thiago-h) wrote :

Same problem here.

Revision history for this message
Bojan Vitnik (bvitnik) wrote :

This "bug" has a huge impact on us. We have 20 netbook's with around 400 potential users of each netbook. Netbooks are "rented" by our students at our library. Students are expected to use their own credentials to connect to "eduroam" per eduroam's terms of use. It's very impractical to make 400 local user accounts for each student on every netbook and new/old accounts have to be added/deleted often. The netbooks currently have Windows installed but we would like to make a transition to Linux and this "bug" is a show stopper for us.

We'd like to be able to just define parameters like "Security", "Authentication", "CA certificate" and "Inner authentication" for "eduroam" connection and leave "Username" and "Password" fields blank. That way every student will be asked for both it's username and password when connecting to "eduroam" and ideally username and password should never be remembered/stored.

Revision history for this message
Roman Shipovskij (roman-shipovskij) wrote :

I wrote simple secret agent for NM to resolve that problem, he start after logon and ask user for username and password when NM connecting to network with EAP-TTLS autentication, some times NM ask password via self interface but after cancel my agent will activated (agent can work when user have access to modify connection)

But now we are using LDAP authentication on machines (same username and password as on authentication for WiFi), which allowed me to write PAM module + D-Bus service that automatically connect to WiFi during system logon

Revision history for this message
Bojan Vitnik (bvitnik) wrote :

I'm currently in the middle of writing such "agent" myself. Still, I'm very interested in your solution.

Is your agent using NetworkManager D-Bus interface or some other method to make connections. Since I don't have experience with D-Bus, using D-Bus interface seemed too complicated to me so I have an idea of generating NetworkManager connection profile in /etc/NetworkManager/system-connections/ and using "nmcli" to connect/disconnect.

LDAP + PAM module looks even more interesting. That's something I planed all along but never had enough time to invest into making it work (I also have student credentials stored in LDAP). Questions: Do all of your users get shared local account (like Guest session) when they log in? Or does separate local accounts and home directories get created on first login? Or maybe home directories are on a network share? I'd really like to see how you implemented this.

Thanks.

Revision history for this message
Roman Shipovskij (roman-shipovskij) wrote :

My agent written on python and use NM D-Bus interface, it just responds when NM need password for EAP-TTLS autentication, ask user for username and password, edit connection on the fly to set username and return password to NM, agent attached to this message, it should work for all connections with EAP-TTLS autentication

Home directory for LDAP user get created on first login by pam_mkhomedir, PAM module + В-Bus service works like my agent but in the background and does a lot of specific for our environment actions and checks to ensure connectivity before the LDAP authentication, otherwise authentication on the machine will be failed

Revision history for this message
Bojan Vitnik (bvitnik) wrote :

Thanks. This will certainly be helpful.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.