Fabric OS 5.2.x administrator guide
71
Linux
The following procedures work for FreeRADIUS on Solaris and Red Hat Linux. FreeRADIUS is a freeware
RADIUS server that you can find at:
www.freeradius.org
Follow the installation instructions at the web site. FreeRADIUS runs on Linux (all versions), FreeBSD,
NetBSD, and Solaris. If you make a change to any of the files used in this configuration, you must stop the
server and restart it for the changes to take effect.
FreeRADIUS installation places the configuration files in
$PREFIX/etc/raddb
. By default, the PREFIX is
/usr/local
.
Configuring RADIUS service on Linux consists of the following tasks:
•
Adding the Brocade attribute to the server
•
Creating the user
•
Enabling clients
How to add the Brocade attribute to the server
1.
Create and save the file
$PREFIX/etc/raddb/dictionary.brocade
with the following
information:
This defines the Brocade vendor ID as 1588, the Brocade attribute 1 as Brocade-Auth-Role, and it is a
string value.
2.
Open the file
$PREFIX/etc/raddb/dictionary
in a text editor and add the line:
As a result, the file
dictionary.brocade
is located in the RADIUS configuration directory., and loaded for
use by the RADIUS server.
How to create the user
1.
Open the
$PREFIX/etc/raddb/user
file in a text editor and add user names and roles for users
who will be accessing the switch and authenticating RADIUS.
The user will log in using the role specified with Brocade-Auth-Role. The valid roles include Root,
Factory, Admin, SwitchAdmin, and User. The new roles appearing in 5.2.x are also valid. You must use
quotation marks around “password” and “role”.
For example, to set up an account called JohnDoe with the Admin role:
The next example uses the local system password file to authenticate users.
When you use NIS for authentication, the only way to enable authentication with the password file is to
force the switch to authenticate using PAP; this requires the
-a pap
option with the
aaaConfig
command.
#
# Brocade FabricOS v5.0.1 dictionary
#
VENDOR Brocade
1588
#
# attribute 1 defined to be Brocade-Auth-Role
# string defined in user configuration
#
ATTRIBUTE
Brocade-Auth-Role
1 string Brocade
$INCLUDE dictionary.brocade
JohnDoe Auth-Type := Local, User-Password == “johnPassword” Brocade-Auth-Role =
“admin”
JohnDoe
Auth-Type := System, Brocade-Auth-Role = “admin”
Summary of Contents for AE370A - Brocade 4Gb SAN Switch 4/12
Page 18: ...18 ...
Page 82: ...82 Managing user accounts ...
Page 102: ...102 Configuring standard security features ...
Page 126: ...126 Maintaining configurations ...
Page 198: ...198 Routing traffic ...
Page 238: ...238 Using the FC FC routing service ...
Page 260: ...260 Administering FICON fabrics ...
Page 280: ...280 Working with diagnostic features ...
Page 332: ...332 Administering Extended Fabrics ...
Page 414: ...398 Configuring the PID format ...
Page 420: ...404 Configuring interoperability mode ...
Page 426: ...410 Understanding legacy password behaviour ...
Page 442: ...426 ...
Page 444: ......
Page 447: ......