<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Switch authentication with Radius + LDAP in ExtremeWireless (General)</title>
    <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39741#M2348</link>
    <description>Nice work Gabriel and thanks for circling back to the Hub Community to tell us how you solved it.  Good stuff!</description>
    <pubDate>Thu, 26 Nov 2015 16:36:00 GMT</pubDate>
    <dc:creator>Ryan_Mathews</dc:creator>
    <dc:date>2015-11-26T16:36:00Z</dc:date>
    <item>
      <title>Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39735#M2342</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to use Freeradius to authenticate the administrators who log into our Extreme switches (Summit X460 or X670)&lt;BR /&gt;
If the login/password of the administrators are stored in cleartext on the Freeradius server (in the "users" file), it works perfectly.&lt;BR /&gt;
But in real life, the administrators accounts are stored in an OpenLdap server. So the Freeradius server must do an LDAP request to verify the administrator password. On the LDAP server, the passwords are encrypted with NT-hash. &lt;BR /&gt;
In this configuration (Freeradius + OpenLDap), i can't get the authentication to work properly.&lt;BR /&gt;
When i do a tcpdump on the Freeradius server, i see that during authentication, the Extreme switch sends the administrator username, and the password encrypted with MD5 hash. I didn't find any reference in XOS documentation saying how the passwords are sent to the radius server, but it seems to be MD5 hash.&lt;BR /&gt;
&lt;BR /&gt;
So i guess that with my configuration, it will never work because the freeradius server receives a MD5 hashed password and it must compare it with a NT hashed password...&lt;BR /&gt;
&lt;BR /&gt;
Did someone tried to get authentication working in a configuration close to mine ? In your opinion is there a way to get this working ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for your help&lt;BR /&gt;
Gabriel</description>
      <pubDate>Wed, 25 Nov 2015 17:25:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39735#M2342</guid>
      <dc:creator>Gabriel3</dc:creator>
      <dc:date>2015-11-25T17:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39736#M2343</link>
      <description>I am not a radius expert but I am fairly sure you need the SSH.xmod to use any inscription other than MD5. I would expect that if you install the xmod it will open up some additional configuration options.</description>
      <pubDate>Wed, 25 Nov 2015 18:10:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39736#M2343</guid>
      <dc:creator>davidj_cogliane</dc:creator>
      <dc:date>2015-11-25T18:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39737#M2344</link>
      <description>Gabriel,&lt;BR /&gt;
&lt;BR /&gt;
The encryption from the switch(radius client) to the RADIUS server does not have the be the same as the LDAP bind to the LDAP server.  These function separately to my knowledge.  I have not setup Freeradius with Openldap yet but i did find some guides online if you would like to try them out.  My apologies if you have already seen these links.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.inspiredtechies.com/setup-freeradius-openldap-mysql-server/" target="_blank" rel="nofollow noreferrer noopener"&gt;http://www.inspiredtechies.com/setup-freeradius-openldap-mysql-server/&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://ubuntuforums.org/showthread.php?t=1976883" target="_blank" rel="nofollow noreferrer noopener"&gt;http://ubuntuforums.org/showthread.php?t=1976883&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Stephen&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Nov 2015 21:05:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39737#M2344</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-11-25T21:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39738#M2345</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
@David : yes i already have ssh xmod installed on the switch. Administrators log into the switches using SSH. However when the switches passes the password to the radius server, it uses the "User-Password" Radius Attribute, which is based on MD5 hash&lt;BR /&gt;
&lt;BR /&gt;
@Stephen : thanks for the links, i'm going to read that&lt;BR /&gt;
&lt;BR /&gt;
Gabriel&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2015 16:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39738#M2345</guid>
      <dc:creator>Gabriel3</dc:creator>
      <dc:date>2015-11-26T16:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39739#M2346</link>
      <description>Let us know if you get it working.  Or get stuck.  We can help. &lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2015 16:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39739#M2346</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-11-26T16:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39740#M2347</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Actually, i got it working.&lt;BR /&gt;
I thought that when an administrator log into a switch that was configured for Radius authentication, the switch sent an MD5-encrypted password to the Radius server, but it's not true.&lt;BR /&gt;
As described in &lt;A href="http://freeradius.org/rfc/rfc2865.html#User-Password" target="_blank" rel="nofollow noreferrer noopener"&gt;http://freeradius.org/rfc/rfc2865.html#User-Password&lt;/A&gt;, actually the switch makes a MD5 hash of the shared secret + "authenticator" radius attribute, and then it XORes this with the password. And it sends this result to the Radius server.&lt;BR /&gt;
On the Radius side, the Radius server knows the shared secret, the authenticator attribute (it is sent in the Radius message), so it can make the reverse operation : MD5 hash of (shared secret + authenticator) + XOR with the encrypted password, and therefore it finds the clear-text password of the administrator.&lt;BR /&gt;
Once the Radius server has the cleartext password, it can encrypt it again in any form (NT hash, MD5 hash, Unix Crypt...) depending on how passwords are encrypted in the database (LDAP or AD server for example)&lt;BR /&gt;
I couldn't get this to work just because i hade made mistakes in my Freeradius configuration files, it had nothing to do with encryption problems&lt;BR /&gt;
&lt;BR /&gt;
Thanks again guys for your help&lt;BR /&gt;
Gabriel&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2015 16:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39740#M2347</guid>
      <dc:creator>Gabriel3</dc:creator>
      <dc:date>2015-11-26T16:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39741#M2348</link>
      <description>Nice work Gabriel and thanks for circling back to the Hub Community to tell us how you solved it.  Good stuff!</description>
      <pubDate>Thu, 26 Nov 2015 16:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39741#M2348</guid>
      <dc:creator>Ryan_Mathews</dc:creator>
      <dc:date>2015-11-26T16:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Switch authentication with Radius + LDAP</title>
      <link>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39742#M2349</link>
      <description>Gabriel thanks for letting everyone know how you got it working!&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2015 16:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremewireless-general/switch-authentication-with-radius-ldap/m-p/39742#M2349</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-11-26T16:36:00Z</dc:date>
    </item>
  </channel>
</rss>

