Hello,We are trying to get machine certificates to with freeradius for WLAN.Problem:We are using the sql user database plugin as we need to return attributes (which vlan the user belongs to, QoS etc) and it all works fine untill we install the certificates as machine certs. Windows changes the User-Name to host/username and that causes the username not to be correct according to what is in the database, and also the User-Name does not match the cn in the cert. We can change the attribute with search and replace, but then EAP gives us the error "identity does not match the User-Name, setting from EAP Identity". Is there a way around this? It would be nice to be able to turn off the EAP identity - User-Name check as we really do not think it is necesary in our solution (and do not really see a security benifit of having it).Any ideas?/Carl _________________________________________________________________ Try Live.com - your fast, personalized homepage with all the things you care about in one place. http://www.live.com/getstarted
I had the same problem here and my only solution was to turn off this check of the username. of the username. Ou only have to comment out the check_cert_cn Entry at the eap.conf to deaktivate this. Butt his turn of the check completely also for user certificates. I changed the username from host/username to username$ which is mostly needed using the mschap Modul aktivating with_ntdomain_hack and adding mschap: to the needed authentication part like ldap section or mysql section like (mschap:User-Name) Maybe there is an other solution to fix that problem without deaktivate this feature? Armin _____ Von: freeradius-users-bounces+kraemer.armin=web.de@lists.freeradius.org [mailto:freeradius-users-bounces+kraemer.armin=web.de@lists.freeradius.org] Im Auftrag von Carl Wahlin Gesendet: Mittwoch, 9. August 2006 17:09 An: freeradius-users@lists.freeradius.org Betreff: EAP identity - username check Hello, We are trying to get machine certificates to with freeradius for WLAN. Problem: We are using the sql user database plugin as we need to return attributes (which vlan the user belongs to, QoS etc) and it all works fine untill we install the certificates as machine certs. Windows changes the User-Name to host/username and that causes the username not to be correct according to what is in the database, and also the User-Name does not match the cn in the cert. We can change the attribute with search and replace, but then EAP gives us the error "identity does not match the User-Name, setting from EAP Identity". Is there a way around this? It would be nice to be able to turn off the EAP identity - User-Name check as we really do not think it is necesary in our solution (and do not really see a security benifit of having it). Any ideas? /Carl _____ With MSN Spaces email straight to your blog. Upload jokes, photos and more. It's free! It's free! <http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://ww w.imagine-msn.com/spaces>
"Carl Wahlin" <carl_wahlin@hotmail.com> wrote:
Hello,We are trying to get machine certificates to with freeradius for WLAN= .Problem:We are using the sql user database plugin as we need to return att= ributes (which vlan the user belongs to, QoS etc) and it all works fine unt= ill we install the certificates as machine certs. Windows changes the User-= Name to host/username and that causes the username not to be correct accord= ing to what is in the database, and also the User-Name does not match the c= n in the cert.
That's why the SQL-User-Name attribute exists. Don't change the User-Name in the request, which keeps the EAP identity check happy. e.g. sql_user_name = %{mschap:User-Name:-%{User-Name}} Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (3)
-
Alan DeKok -
Carl Wahlin -
Krämer Armin