FreeRadius with 3COM
Hi all, i´m in trouble. I need to authenticate a 3COM 4210 switch with freeradius. The 3COM send the message and the freeradius answers with accept as above: Sending Access-Accept of id 21 to 172.21.23.2 port 5001 Framed-Compression := None Service-Type := Login-User Framed-Protocol := PPP Framed-MTU := 1500 But 3COM gives "Login Failed" Can anybody give me an help? Thanks, Rafael Fernandes
Rafael Fernandes <rafaelmsf@gmail.com> writes:
i´m in trouble. I need to authenticate a 3COM 4210 switch with freeradius. The 3COM send the message and the freeradius answers with accept as above: Sending Access-Accept of id 21 to 172.21.23.2 port 5001 Framed-Compression := None Service-Type := Login-User Framed-Protocol := PPP Framed-MTU := 1500
But 3COM gives "Login Failed"
I don't know that switch, but it probably expects a reply with Service-Type := NAS-Prompt-User or Service-Type := Administrative-User and none of the Framed-* attributes. Although sending those probably won't harm. Bjørn
Hi In the case of work Shared the configuration we Thanks 2009/11/6 Bjørn Mork <bjorn@mork.no>
Rafael Fernandes <rafaelmsf@gmail.com> writes:
i´m in trouble. I need to authenticate a 3COM 4210 switch with freeradius. The 3COM send the message and the freeradius answers with accept as above: Sending Access-Accept of id 21 to 172.21.23.2 port 5001 Framed-Compression := None Service-Type := Login-User Framed-Protocol := PPP Framed-MTU := 1500
But 3COM gives "Login Failed"
I don't know that switch, but it probably expects a reply with
Service-Type := NAS-Prompt-User
or
Service-Type := Administrative-User
and none of the Framed-* attributes. Although sending those probably won't harm.
Bjørn
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- ^^^^^^^^^^^^^^^^^^^| |Linux band wagon|"""";...,___ |_...._....____===|___|__|...,] "(@)'(@)""""*|(@)(@ )****(@)
On Fri, 6 Nov 2009 13:44:11 -0300, Rafael Fernandes <rafaelmsf@gmail.com> wrote:
Hi all,
i´m in trouble. I need to authenticate a 3COM 4210 switch with freeradius. The 3COM send the message and the freeradius answers with accept as above: Sending Access-Accept of id 21 to 172.21.23.2 port 5001 Framed-Compression := None Service-Type := Login-User Framed-Protocol := PPP Framed-MTU := 1500
But 3COM gives "Login Failed"
Can anybody give me an help?
Switch users guide. It will tell you what attributes and what values to return. Ivan Kalik Kalik Informatika ISP
Bjørn Mork wrote:
tnt@kalik.net writes:
Switch users guide. It will tell you what attributes and what values to return.
Really? That would be most unusual.
The documentation from normal switch vendors includes instructions on how to configure the switch. e.g. from the CLI, or from RADIUS. If the documentation does not contain instructions for how to configure the switch, you should throw it in the garbage, and by a switch from a real vendor. Alan DeKok.
Alan DeKok <aland@deployingradius.com> writes:
Bjørn Mork wrote:
tnt@kalik.net writes:
Switch users guide. It will tell you what attributes and what values to return.
Really? That would be most unusual.
The documentation from normal switch vendors includes instructions on how to configure the switch. e.g. from the CLI, or from RADIUS.
Yes. But usually that documentation is limited to how you configure radius server address, port and key, and sometimes timeouts and/or failover strategy. VSAs are also usually documented. But the standard RFC attributes and their meaning to the switch/router are rarely documented in my experience. Now, you could argue that those attributes are documented in RFCs which the documentation most often will refer to, which of course is correct. But the fact is that the answer to this particular question isn't very obvious the first time you configure management access to a switch (or router or access point or whatever). And we've all been there. Some of us were lucky and inherited a working configuration a decade ago. Some are not so lucky. I may be wrong (please prove me so!), but I don't think pointing to the switch documentation will ever help if you got the Service-Type wrong.
If the documentation does not contain instructions for how to configure the switch, you should throw it in the garbage, and by a switch from a real vendor.
Oh, the documentation does contain instructions for how to configure the switch. But in vendor language "configure the switch" means using the CLI or web GUI. Interpretation of standard RADIUS attributes, or any other protocol for that sake, is not considered part of the configuration. So you will know how to configure the switch, but you just don't know how to configure the other end. From the switch vendor's point of view, that is part of the RADIUS server documentation. Bjørn
Bjørn Mork wrote:
Oh, the documentation does contain instructions for how to configure the switch. But in vendor language "configure the switch" means using the CLI or web GUI. Interpretation of standard RADIUS attributes, or any other protocol for that sake, is not considered part of the configuration. So you will know how to configure the switch, but you just don't know how to configure the other end. From the switch vendor's point of view, that is part of the RADIUS server documentation.
If administrator logins can be controlled via RADIUS, that is generally documented, in my experience. This includes instructions on what attributes to send in a RADIUS packet. Sometimes, it even includes sample FreeRADIUS configurations. If the vendor can't do that, I don't see why anyone should pay a few thousand for their product. Alan DeKok.
participants (5)
-
Alan DeKok -
Bjørn Mork -
Diego -
Rafael Fernandes -
tnt@kalik.net