user@Linux:$ locate dictionary.* /usr/share/freeradius/dictionary.3com /usr/share/freeradius/dictionary.3gpp /usr/share/freeradius/dictionary.3gpp2 /usr/share/freeradius/dictionary.acc /usr/share/freeradius/dictionary.acme
user@Linux:$ cd /usr/share/freeradius/ user@Linux:/usr/share/freeradius$
user@Linux:/usr/share/freeradius$ ls dictionary.brocade dictionary. brocade
user@Linux:/usr/share/freeradius$ more dictionary.brocade # -*- text -*- # Copyright (C) 2013 The FreeRADIUS Server project and contributors # VENDOR Brocade 1588 BEGIN-VENDOR Brocade ATTRIBUTE Brocade-Auth-Role 1 string END-VENDOR Brocade ATTRIBUTE Brocade-Cmd 8 string
# -*- text -*- # Copyright (C) 2013 The FreeRADIUS Server project and contributors # VENDOR Brocade 1588 BEGIN-VENDOR Brocade ATTRIBUTE Brocade-Auth-Role 1 string END-VENDOR Brocade
$INCLUDE dictionary.brocade
user@Linux:/usr/share/freeradius$ sudo service freeradius restart
jsmith Auth-Type := Local, User-Password == "jspassword", Brocade-Auth-Role = "admin"
Note
You must use double quotation marks around the password and role.user@Linux:/usr/share/freeradius$ sudo service freeradius restart
Note
When you use network information service (NIS) for authentication, the only way to enable authentication with the password file is to force the device to authenticate using password authentication protocol (PAP); this requires the setting the pap option with the radius-server host command.