<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Zabbix on Idle Daylight</title><link>https://blog.kiserai.net/tags/zabbix/</link><description>Recent content in Zabbix on Idle Daylight</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 08 Aug 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.kiserai.net/tags/zabbix/index.xml" rel="self" type="application/rss+xml"/><item><title>Zabbix Web Interface With LLDAP</title><link>https://blog.kiserai.net/posts/zabbix-web-interface-with-lldap/</link><pubDate>Tue, 08 Aug 2023 00:00:00 +0000</pubDate><guid>https://blog.kiserai.net/posts/zabbix-web-interface-with-lldap/</guid><description>&lt;p&gt;I wrote a &lt;a href="https://github.com/lldap/lldap/blob/main/example_configs/zabbix-web.md"&gt;document&lt;/a&gt; for configuring &lt;a href="https://www.zabbix.com/"&gt;Zabbix&lt;/a&gt; 6.0 web interface to use &lt;a href="https://github.com/lldap/lldap"&gt;LLDAP&lt;/a&gt; for logins. Here is the same information, with pictures.&lt;/p&gt;</description><content:encoded><![CDATA[<p>I wrote a <a href="https://github.com/lldap/lldap/blob/main/example_configs/zabbix-web.md">document</a> for configuring <a href="https://www.zabbix.com/">Zabbix</a> 6.0 web interface to use <a href="https://github.com/lldap/lldap">LLDAP</a> for logins. Here is the same information, with pictures.</p>
<p>This example is for the Zabbix Web interface <strong>version 6.0</strong>, which is the supported LTS version as of August 2023.  Later versions have additional options.</p>
<p>For the associated 6.0 documentation see <a href="https://www.zabbix.com/documentation/6.0/en/manual/web_interface/frontend_sections/administration/authentication">here</a> and for the current manual see <a href="https://www.zabbix.com/documentation/current/en/manual">here</a>.</p>
<p><em><strong>Note that an LDAP user must exist in Zabbix Web as well, however its Zabbix password will not be used.</strong></em> When creating the user in Zabbix, the user should also be added to your desired Zabbix roles/groups.</p>
<h2 id="configure-ldap-settings">Configure LDAP Settings</h2>
<ul>
<li>Log in to the web interface as an admin</li>
<li>Navigate to <code>Administration &gt; Authentication &gt; LDAP Settings</code></li>
</ul>
<p>Here&rsquo;s a picture, see below for details:
<img alt="picture of the below settings in the Zabbix web configuration area" loading="lazy" src="https://dabor.kiserai.net/i/cee7e227-16c2-4a0f-86e8-5bf2adcc4184.jpg"></p>
<h3 id="enable-ldap-authentication">Enable LDAP authentication</h3>
<p>Checked</p>
<h3 id="ldap-host">LDAP host</h3>
<p>URI of your LLDAP host. Example: <code>ldap://ldap.example.com:3890</code> or <code>ldaps://ldap.example.com:6360</code> for TLS.</p>
<h3 id="port">Port</h3>
<p>Not used when using a full LDAP URI as above, but feel free to put <code>3890</code> or <code>6360</code> for TLS.</p>
<h3 id="base-dn">Base DN</h3>
<p>Your LLDAP_LDAP_BASE. Example: <code>dc=example,dc=com</code></p>
<h3 id="search-attribute">Search attribute</h3>
<p><code>uid</code></p>
<h3 id="case-sensitive-login">Case-sensitive login</h3>
<p>Checked</p>
<h3 id="bind-dn">Bind DN</h3>
<p><code>uid=admin,ou=people,dc=example,dc=com</code></p>
<p>Alternately, it is recommended that you create a separate user account (e.g, <code>bind_user</code>) instead of <code>admin</code> for sharing Bind credentials with other services. The <code>bind_user</code> should be a member of the <code>lldap_strict_readonly</code> group to limit access to your LDAP configuration in LLDAP.</p>
<h3 id="bind-password">Bind password</h3>
<p>Password for the above bind DN user.</p>
<h3 id="test-authentication">Test authentication</h3>
<p>The test authentication <code>Login</code> and <code>User password</code> must be used to check the connection and whether an LDAP user can be successfully authenticated. Zabbix will not activate LDAP authentication if it is unable to authenticate the test user.</p>
<h2 id="enable-ldap-in-zabbix-web">Enable LDAP in Zabbix Web</h2>
<ul>
<li>Navigate to <code>Administration &gt; Authentication &gt; Authentication</code> (the first tab)</li>
<li>Set &ldquo;Default authentication&rdquo; to &ldquo;LDAP&rdquo;</li>
<li>Click &ldquo;Update&rdquo;</li>
</ul>]]></content:encoded></item></channel></rss>