Configure LDAP Authentication Zabbix CentOS

Configure LDAP Authentication Zabbix CentOS

Configure LDAP Authentication Zabbix CentOS

LDAP authentication can be very helpful if you have many users that login to the zabbix interface on a regular basis.

The first thing you want to do on your server is see if the php-ldap module is installed

rpm -qa | grep php-ldap returning nothing on the Zabbix server

if not, like shown above, install php-ldap and then restart apache afterwards

yum -y install php-ldap;service httpd restart

Login to the Zabbix Web Interace, and Browse to Administration –> Authentication

Zabbix Administration, Authentication page with Default authentication set to LDAP

Select LDAP, and configure for your network

Note, that for version 2.2.7, it appears as though you need to have an LDAP user named “Admin”

Zabbix LDAP authentication form: LDAP host, port 389, Base DN, search attribute uid, Admin login and Test button

configure as follows for Anonymous bind, if not fill in the Bind DN, and Bind Password, make sure to type the LDAP password for the “Admin” Account, and hit Test/Save

if your settings are configured properly, you should see LDAP configuration changed

Zabbix message: LDAP authentication changed

now go to Administration –> Users

Zabbix Administration menu with the Users tab selected

from the drop-down select users, and then create user

Zabbix Users drop-down and Create user button

configure as follows:

Zabbix create user form: alias LDAPUSERNAME, group Zabbix administrators, password unavailable with LDAP

under the permissions tab, also grant the proper permissions.

Zabbix user Permissions tab: User type Zabbix Super Admin with read-write host groups

Now you should be able to login with your LDAP Password.

That’s it!

Hosted Linux Servers at www.zwiegnet.com/go

Related guides: Install Zabbix Agent on Windows | Configure Cacti OpenLDAP authentication

Leave a Reply

Your email address will not be published. Required fields are marked *