SMARTZONE UPS USER MANUAL
options to enable authentication in /etc/freeradius/3.0/radiusd.conf: (make sure
they are configured for your security requirements)
auth_badpass = yes
auth_goodpass = yes
auth = yes
7. Restart the RADIUS server for the configuration changes to take effect.
systemctl stop freeradius
systemctl start freeradius
8. Verify the server is able to perform authentication and returns the configured
User-Role. Note: You may need to change this example based on any client
restrictions that are enforced.
Usage: radtest [OPTS] user passwd radius-server[:port] nas-port-number secret
# radtest 'radroleadmin' '34567890’ 192.0.2.1 0 'panduit#1' ''
Sending Access-Request of id 212 to 192.0.2.1 port 1812
User-Name = "radroleadmin"
User-Password = "34567890"
NAS-IP-Address = 127.0.1.1
NAS-Port = 0
Message-Authenticator = 0x00000000000000000000000000000000
rad_recv: Access-Accept packet from host 192.0.2.1 port 1812, id=212, length=38
User-Role = Admin
Service-Type = Framed-User