Would you like to learn how to configure the OTRS application to use Radius authentication? In this tutorial, we are going to show you how to authenticate OTRS users using the Radius protocol and the Freeradius server.

• Ubuntu 20
• Ubuntu 19
• Ubuntu 18
• OTRS 6.0.29
• Freeradius 3.0.20

OTRS – Related Tutorial:

On this page, we offer quick access to a list of tutorials related to OTRS.

Tutorial – FreeRadius Server Installation on Ubuntu Linux

• IP – 192.168.15.10
• Operacional System – Ubuntu 20
• Hostname – FREERADIUS

On the Linux console, use the following commands to install the FreeRadius service.

Copy to Clipboard

Now, we need to add FreeRadius clients to the clients.conf;.

Locate and edit the clients.conf.

Copy to Clipboard

Add the following lines at the end of the clients.conf file.

Copy to Clipboard

In our example, we are adding 1 client device:

The device was named OTRS and has the IP address 192.168.15.11.

Now, we need to add FreeRadius users to the USERS configuration file.

Locate and edit the Freeradius users configuration file.

Copy to Clipboard

Add the following lines at the end of the file

Copy to Clipboard

In our example, we are adding 2 user accounts.

The first user account was named USER01.

The second user account was named USER02.

Restart the Freeradius server.

Copy to Clipboard

Test your radius server configuration file.

Copy to Clipboard

You have finished the Freeradius installation on Ubuntu Linux.

Freeradius – Authentication test

Test your radius authentication locally using the following commands:

Copy to Clipboard

Here is the command output:

Copy to Clipboard

As you can see, the account was able to successfully authenticate on the Radius server.

Test the user account named USER02.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

As you can see, the account was able to successfully authenticate on the Radius server.

OTRS – Radius authentication

Install the required packages.

Copy to Clipboard

Edit the OTRS configuration file.

Copy to Clipboard

Locate the following area.

Copy to Clipboard

Below this area, insert the RADIUS authentication configuration.

Copy to Clipboard

Restart the OTRS service.

Copy to Clipboard

In our example, the OTRS agents were configured to authenticate using the Radius password.

In our example, the OTRS agents are also able to authenticate using the local password.

OTRS – Radius authentication

Open your browser and enter the IP address of your web server plus /otrs/.

In our example, the following URL was entered in the Browser:

• http://192.168.15.20/otrs/

The OTRS web interface should be presented.

OTRS login

On the login screen, use an agent account.

• Username: user01
• Password: Enter the Radius password.

After a successful login, you will be sent to the OTRS Dashboard.

OTRS Authentication Active Directory

Congratulations! You configured the OTRS authentication to use the Radius protocol.

If you configure the Radius authentication, this does not mean that you don’t need to create the agent account locally on the OTRS application.