Re: Leap authentication problem in NM.- once again

2007-07-06 Thread Jon Escombe
Dan Williams wrote:
 On Thu, 2007-07-05 at 15:14 -0500, Aaron Konstam wrote:
   
 On Thu, 2007-07-05 at 13:23 -0400, Darren Albers wrote:
 
 On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
   
 On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
 
 I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
 properly.

 When I set up a WEP authentication I am asked to enter the id number of
 the Access point then I am asked for a passwd phrase which when entered
 causes the connecton to be made.

 When I subsequently login I am asked for the passwd phrase; which when
 entered proceeds to make the connection.

 When I choose LEAP authentication I am asked for a login and passwd.
 Then I am asked for a passwd phrase (which I don't remember happening in
 earlier LEAP authentication.) The connection is then made.

 Subsequently when I login to the machine I am not asked for a passwd
 phrase and the NM-applet keeps searching endlessly for a connection.

 Something is wrong. Could someone either confirm that this is a error in
 the program or tell me how to make it work?
   
 I don't know why complex questions can get answered but simple ones do
 not, so let me try again.

 Is LEAP authentication using NM supposed to ask you for a password at
 the end of the configuration process? It is happening and it screws
 things up as described above.

 If you want a bugzilla I will file one.
 --
 ===
 Well, Jim, I'm not much of an actor either.
 ===
 Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]


 
 Probably because not many people who lurk here answering questions
 have used LEAP so they don't know the answer...

 Is the second request for a passphrase your keyring passphrase?
   
 Yes it is? Ok maybe it is time for a bugzilla. The developer of this
 capability must know how it is supposed to work, It used to work in an
 earlier NM version.
 

 My guess is that it was the patch that made WPA[2] Enterprise
 certificate stuff stop asking for passwords in applet-dbus-info.c,
 nmi_dbus_get_key_for_network().  That changed the password request
 logic, possibly for the worse with LEAP.  What exactly are your LEAP
 options, just user and password, right?

 Dan

   
Hmm, that patch shouldn't have changed the logic for LEAP authentication..
Do we know what version was last working ok for Aaron (6.4 / 6.5)?

Regards,
Jon.

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-06 Thread Jon Escombe
  

 Hmm, that patch shouldn't have changed the logic for LEAP authentication..
 Do we know what version was last working ok for Aaron (6.4 / 6.5)?

 Regards,
 Jon.
   

Looking at the applet code, I'm suspicious that the 6.5 changes that 
broke some WPA2 configs have done the same to LEAP. So we might just 
need to extend that last patch to include LEAP networks.

Aaron, does your LEAP passphrase get stored in the keyring or in gconf? 
You might need to install the gnome-keyring-manager to check the 
keyring. If it's in the keyring then I would expect it only to work when 
you enter all the information through the applet, but not when it 
re-connects? If this is the case then it is the issue above  should be 
a simple fix...

Regards,
Jon
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-06 Thread Aaron Konstam
On Fri, 2007-07-06 at 09:28 +0100, Jon Escombe wrote:
 
  Hmm, that patch shouldn't have changed the logic for LEAP authentication..
  Do we know what version was last working ok for Aaron (6.4 / 6.5)?
 
  Regards,
  Jon.

 
 Looking at the applet code, I'm suspicious that the 6.5 changes that 
 broke some WPA2 configs have done the same to LEAP. So we might just 
 need to extend that last patch to include LEAP networks.
 
 Aaron, does your LEAP passphrase get stored in the keyring or in gconf? 
 You might need to install the gnome-keyring-manager to check the 
 keyring. If it's in the keyring then I would expect it only to work when 
 you enter all the information through the applet, but not when it 
 re-connects? If this is the case then it is the issue above  should be 
 a simple fix...
 
 Regards,
 Jon
Yes the passphrase gets stored in the gnome-keyring. The problem is
exactly as you describe it. It last worked in the Unstable CVS version
last September which was probably 6.4
--
===
But Captain -- the engines can't take this much longer!
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


[Fwd: Re: Leap authentication problem in NM.- once again]

2007-07-06 Thread Aaron Konstam
 Forwarded Message 
From: Aaron Konstam [EMAIL PROTECTED]
To: Dan Williams [EMAIL PROTECTED]
Subject: Re: Leap authentication problem in NM.- once again
Date: Fri, 06 Jul 2007 08:53:06 -0500

On Thu, 2007-07-05 at 22:49 -0400, Dan Williams wrote:
 On Thu, 2007-07-05 at 15:14 -0500, Aaron Konstam wrote:
  On Thu, 2007-07-05 at 13:23 -0400, Darren Albers wrote:
   On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
 I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
 properly.

 When I set up a WEP authentication I am asked to enter the id number 
 of
 the Access point then I am asked for a passwd phrase which when 
 entered
 causes the connecton to be made.

 When I subsequently login I am asked for the passwd phrase; which when
 entered proceeds to make the connection.

 When I choose LEAP authentication I am asked for a login and passwd.
 Then I am asked for a passwd phrase (which I don't remember happening 
 in
 earlier LEAP authentication.) The connection is then made.

 Subsequently when I login to the machine I am not asked for a passwd
 phrase and the NM-applet keeps searching endlessly for a connection.

 Something is wrong. Could someone either confirm that this is a error 
 in
 the program or tell me how to make it work?
   
I don't know why complex questions can get answered but simple ones do
not, so let me try again.
   
Is LEAP authentication using NM supposed to ask you for a password at
the end of the configuration process? It is happening and it screws
things up as described above.
   
If you want a bugzilla I will file one.
--
===
Well, Jim, I'm not much of an actor either.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]
   
   
   
   Probably because not many people who lurk here answering questions
   have used LEAP so they don't know the answer...
   
   Is the second request for a passphrase your keyring passphrase?
  
  Yes it is? Ok maybe it is time for a bugzilla. The developer of this
  capability must know how it is supposed to work, It used to work in an
  earlier NM version.
 
 My guess is that it was the patch that made WPA[2] Enterprise
 certificate stuff stop asking for passwords in applet-dbus-info.c,
 nmi_dbus_get_key_for_network().  That changed the password request
 logic, possibly for the worse with LEAP.  What exactly are your LEAP
 options, just user and password, right?
 
 Dan
 
I am asked for a user and passwd. Then I am asked for a passphrase. But
no request ever appears on login asking me to enter the passphrase.
It is frustrating I am sure for both of us. This used to work in the
Unstable version last September.

Should I post the syslog entries as Darren Albers asked for or is it
time for a bugzilla?

--
===
A true artist will let his wife starve, his children go barefoot, his
mother drudge for his living at seventy, sooner than work at anything
but his art. -- Shaw
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]
--
===
Gort, klaatu nikto barada. -- The Day the Earth Stood Still
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-06 Thread Jon Escombe

- Aaron Konstam [EMAIL PROTECTED] wrote:

  Looking at the applet code, I'm suspicious that the 6.5 changes that 
  broke some WPA2 configs have done the same to LEAP. So we might just 
  need to extend that last patch to include LEAP networks.
  
  Aaron, does your LEAP passphrase get stored in the keyring or in gconf? 
  You might need to install the gnome-keyring-manager to check the 
  keyring. If it's in the keyring then I would expect it only to work when 
  you enter all the information through the applet, but not when it 
  re-connects? If this is the case then it is the issue above  should be 
  a simple fix...
  
  Regards,
  Jon

 Yes the passphrase gets stored in the gnome-keyring. The problem is
 exactly as you describe it. It last worked in the Unstable CVS version
 last September which was probably 6.4

The attached patch should allow fetching the LEAP passphrase from the keyring. 
I'm assuming it's always stored there for LEAP networks and doesn't need a 
conditional check like the WPA2 case.

Regards,
Jon.
diff -urN NetworkManager-0.6.5/nm-applet-0.6.5/src/applet-dbus-info.c NetworkManager-0.6.5.new/nm-applet-0.6.5/src/applet-dbus-info.c
--- NetworkManager-0.6.5/nm-applet-0.6.5/src/applet-dbus-info.c	2007-06-07 17:44:06.0 +0100
+++ NetworkManager-0.6.5.new/nm-applet-0.6.5/src/applet-dbus-info.c	2007-07-06 15:11:16.0 +0100
@@ -193,9 +193,7 @@
 	}
 
 	/* Hack: 802.1x passwords are not stored in the keyring */
-	if (!new_key 
-		((we_cipher == NM_AUTH_TYPE_WPA_EAP  !have_priv_key_file) ||
-		we_cipher == NM_AUTH_TYPE_LEAP))
+	if (!new_key  (we_cipher == NM_AUTH_TYPE_WPA_EAP  !have_priv_key_file))
 	{
 		NMGConfWSO *gconf_wso;
 		gconf_wso = nm_gconf_wso_new_deserialize_gconf (applet-gconf_client,
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-06 Thread Aaron Konstam
On Fri, 2007-07-06 at 15:24 +0100, Jon Escombe wrote:
 - Aaron Konstam [EMAIL PROTECTED] wrote:
 
   Looking at the applet code, I'm suspicious that the 6.5 changes that 
   broke some WPA2 configs have done the same to LEAP. So we might just 
   need to extend that last patch to include LEAP networks.
   
   Aaron, does your LEAP passphrase get stored in the keyring or in gconf? 
   You might need to install the gnome-keyring-manager to check the 
   keyring. If it's in the keyring then I would expect it only to work when 
   you enter all the information through the applet, but not when it 
   re-connects? If this is the case then it is the issue above  should be 
   a simple fix...
   
   Regards,
   Jon
 
  Yes the passphrase gets stored in the gnome-keyring. The problem is
  exactly as you describe it. It last worked in the Unstable CVS version
  last September which was probably 6.4
 
 The attached patch should allow fetching the LEAP passphrase from the 
 keyring. I'm assuming it's always stored there for LEAP networks and doesn't 
 need a conditional check like the WPA2 case.
 
 Regards,
 Jon.
How can I apply the patch and to What? NetworkManager?
--
===
Dying is a very dull, dreary affair. My advice to you is to have nothing
whatever to do with it. -- W. Somerset Maughm, his last words
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- correection

2007-07-06 Thread Aaron Konstam
On Fri, 2007-07-06 at 15:24 +0100, Jon Escombe wrote:
 - Aaron Konstam [EMAIL PROTECTED] wrote:
 
   Looking at the applet code, I'm suspicious that the 6.5 changes that 
   broke some WPA2 configs have done the same to LEAP. So we might just 
   need to extend that last patch to include LEAP networks.
   
   Aaron, does your LEAP passphrase get stored in the keyring or in gconf? 
   You might need to install the gnome-keyring-manager to check the 
   keyring. If it's in the keyring then I would expect it only to work when 
   you enter all the information through the applet, but not when it 
   re-connects? If this is the case then it is the issue above  should be 
   a simple fix...
   
   Regards,
   Jon
 
  Yes the passphrase gets stored in the gnome-keyring. The problem is
  exactly as you describe it. It last worked in the Unstable CVS version
  last September which was probably 6.4
 htings are more complicated then I thought.
 The attached patch should allow fetching the LEAP passphrase from the 
 keyring. I'm assuming it's always stored there for LEAP networks and doesn't 
 need a conditional check like the WPA2 case.
I have a correction on what I said earlier. It is clear that 
things are more complicated then I thought.

When you configure LEAP authentication you are asked foe a user name,
then a passwd and finally you are asked for a passphrase. What appears
in the gnome keyring is the passwd not the passphrase. Previously in NM
a passphrase was not asked for so I am not sure where it is stored.
Probably the same place it is stored for the WEP configuration.

I will try to file a bugzilla but it might not be today.

--
===
To err is human -- to blame it on a computer is even more so.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-05 Thread Aaron Konstam
On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
 I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
 properly.
 
 When I set up a WEP authentication I am asked to enter the id number of
 the Access point then I am asked for a passwd phrase which when entered
 causes the connecton to be made.
 
 When I subsequently login I am asked for the passwd phrase; which when
 entered proceeds to make the connection.
  
 When I choose LEAP authentication I am asked for a login and passwd.
 Then I am asked for a passwd phrase (which I don't remember happening in
 earlier LEAP authentication.) The connection is then made.
 
 Subsequently when I login to the machine I am not asked for a passwd
 phrase and the NM-applet keeps searching endlessly for a connection.
 
 Something is wrong. Could someone either confirm that this is a error in
 the program or tell me how to make it work?

I don't know why complex questions can get answered but simple ones do
not, so let me try again.

Is LEAP authentication using NM supposed to ask you for a password at
the end of the configuration process? It is happening and it screws
things up as described above.

If you want a bugzilla I will file one.
--
===
Well, Jim, I'm not much of an actor either.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-05 Thread Darren Albers
On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
 On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
  I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
  properly.
 
  When I set up a WEP authentication I am asked to enter the id number of
  the Access point then I am asked for a passwd phrase which when entered
  causes the connecton to be made.
 
  When I subsequently login I am asked for the passwd phrase; which when
  entered proceeds to make the connection.
 
  When I choose LEAP authentication I am asked for a login and passwd.
  Then I am asked for a passwd phrase (which I don't remember happening in
  earlier LEAP authentication.) The connection is then made.
 
  Subsequently when I login to the machine I am not asked for a passwd
  phrase and the NM-applet keeps searching endlessly for a connection.
 
  Something is wrong. Could someone either confirm that this is a error in
  the program or tell me how to make it work?

 I don't know why complex questions can get answered but simple ones do
 not, so let me try again.

 Is LEAP authentication using NM supposed to ask you for a password at
 the end of the configuration process? It is happening and it screws
 things up as described above.

 If you want a bugzilla I will file one.
 --
 ===
 Well, Jim, I'm not much of an actor either.
 ===
 Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]



Probably because not many people who lurk here answering questions
have used LEAP so they don't know the answer...

Is the second request for a passphrase your keyring passphrase?
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-05 Thread Aaron Konstam
On Thu, 2007-07-05 at 13:23 -0400, Darren Albers wrote:
 On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
  On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
   I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
   properly.
  
   When I set up a WEP authentication I am asked to enter the id number of
   the Access point then I am asked for a passwd phrase which when entered
   causes the connecton to be made.
  
   When I subsequently login I am asked for the passwd phrase; which when
   entered proceeds to make the connection.
  
   When I choose LEAP authentication I am asked for a login and passwd.
   Then I am asked for a passwd phrase (which I don't remember happening in
   earlier LEAP authentication.) The connection is then made.
  
   Subsequently when I login to the machine I am not asked for a passwd
   phrase and the NM-applet keeps searching endlessly for a connection.
  
   Something is wrong. Could someone either confirm that this is a error in
   the program or tell me how to make it work?
 
  I don't know why complex questions can get answered but simple ones do
  not, so let me try again.
 
  Is LEAP authentication using NM supposed to ask you for a password at
  the end of the configuration process? It is happening and it screws
  things up as described above.
 
  If you want a bugzilla I will file one.
  --
  ===
  Well, Jim, I'm not much of an actor either.
  ===
  Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]
 
 
 
 Probably because not many people who lurk here answering questions
 have used LEAP so they don't know the answer...
 
 Is the second request for a passphrase your keyring passphrase?

Yes it is? Ok maybe it is time for a bugzilla. The developer of this
capability must know how it is supposed to work, It used to work in an
earlier NM version.
--
===
Live fast, die young, and leave a flat patch of fur on the highway! --
The Squirrels' Motto (The Hell's Angels of Nature)
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-05 Thread Darren Albers
On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
 On Thu, 2007-07-05 at 13:23 -0400, Darren Albers wrote:
  On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
   On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
properly.
   
When I set up a WEP authentication I am asked to enter the id number of
the Access point then I am asked for a passwd phrase which when entered
causes the connecton to be made.
   
When I subsequently login I am asked for the passwd phrase; which when
entered proceeds to make the connection.
   
When I choose LEAP authentication I am asked for a login and passwd.
Then I am asked for a passwd phrase (which I don't remember happening in
earlier LEAP authentication.) The connection is then made.
   
Subsequently when I login to the machine I am not asked for a passwd
phrase and the NM-applet keeps searching endlessly for a connection.
   
Something is wrong. Could someone either confirm that this is a error in
the program or tell me how to make it work?
  
   I don't know why complex questions can get answered but simple ones do
   not, so let me try again.
  
   Is LEAP authentication using NM supposed to ask you for a password at
   the end of the configuration process? It is happening and it screws
   things up as described above.
  
   If you want a bugzilla I will file one.
   --
   ===
   Well, Jim, I'm not much of an actor either.
   ===
   Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]
  
  
 
  Probably because not many people who lurk here answering questions
  have used LEAP so they don't know the answer...
 
  Is the second request for a passphrase your keyring passphrase?

 Yes it is? Ok maybe it is time for a bugzilla. The developer of this
 capability must know how it is supposed to work, It used to work in an
 earlier NM version.
 --

If it is the the Keyring prompt then it is asking you for your keyring
password so it can unlock your keyring and store your password there.
It would be best if you can post the contents of /var/log/syslog from
your connection attempt (removing all SSID's etc..).
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Leap authentication problem in NM.- once again

2007-07-05 Thread Dan Williams
On Thu, 2007-07-05 at 15:14 -0500, Aaron Konstam wrote:
 On Thu, 2007-07-05 at 13:23 -0400, Darren Albers wrote:
  On 7/5/07, Aaron Konstam [EMAIL PROTECTED] wrote:
   On Mon, 2007-07-02 at 15:18 -0500, Aaron Konstam wrote:
I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
properly.
   
When I set up a WEP authentication I am asked to enter the id number of
the Access point then I am asked for a passwd phrase which when entered
causes the connecton to be made.
   
When I subsequently login I am asked for the passwd phrase; which when
entered proceeds to make the connection.
   
When I choose LEAP authentication I am asked for a login and passwd.
Then I am asked for a passwd phrase (which I don't remember happening in
earlier LEAP authentication.) The connection is then made.
   
Subsequently when I login to the machine I am not asked for a passwd
phrase and the NM-applet keeps searching endlessly for a connection.
   
Something is wrong. Could someone either confirm that this is a error in
the program or tell me how to make it work?
  
   I don't know why complex questions can get answered but simple ones do
   not, so let me try again.
  
   Is LEAP authentication using NM supposed to ask you for a password at
   the end of the configuration process? It is happening and it screws
   things up as described above.
  
   If you want a bugzilla I will file one.
   --
   ===
   Well, Jim, I'm not much of an actor either.
   ===
   Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]
  
  
  
  Probably because not many people who lurk here answering questions
  have used LEAP so they don't know the answer...
  
  Is the second request for a passphrase your keyring passphrase?
 
 Yes it is? Ok maybe it is time for a bugzilla. The developer of this
 capability must know how it is supposed to work, It used to work in an
 earlier NM version.

My guess is that it was the patch that made WPA[2] Enterprise
certificate stuff stop asking for passwords in applet-dbus-info.c,
nmi_dbus_get_key_for_network().  That changed the password request
logic, possibly for the worse with LEAP.  What exactly are your LEAP
options, just user and password, right?

Dan

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Leap authentication problem in NM.

2007-07-02 Thread Aaron Konstam
I am using NetworkManager-0.6.5-6.fc7 on F7 but it is not working
properly.

When I set up a WEP authentication I am asked to enter the id number of
the Access point then I am asked for a passwd phrase which when entered
causes the connecton to be made.

When I subsequently login I am asked for the passwd phrase; which when
entered proceeds to make the connection.
 
When I choose LEAP authentication I am asked for a login and passwd.
Then I am asked for a passwd phrase (which I don't remember happening in
earlier LEAP authentication.) The connection is then made.

Subsequently when I login to the machine I am not asked for a passwd
phrase and the NM-applet keeps searching endlessly for a connection.

Something is wrong. Could someone either confirm that this is a error in
the program or tell me how to make it work?
-- 
Aaron Konstam [EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list