<p>Here's a patch adding the certificate expiration check feature to the ldap<br>
plugin, based on the http plugin. For some unknown reason, probably due to<br>
the way secure connection is established, it doesn't work with the --ssl</p>
<h2>options, only for the --starttls one.</h2>
<p>Just turning attached patch of github issue <a href="https://github.com/nagios-plugins/nagios-plugins/issues/1067" class="issue-link" title="add check certificate support for LDAP plugin [sf#2430999]">#1067</a> into a push request.<br>
(Closes <a href="https://github.com/nagios-plugins/nagios-plugins/issues/1067" class="issue-link" title="add check certificate support for LDAP plugin [sf#2430999]">#1067</a>)</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/waja/nagios-plugins github1067</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/nagios-plugins/nagios-plugins/pull/1195'>https://github.com/nagios-plugins/nagios-plugins/pull/1195</a></p>
<h4>Commit Summary</h4>
<ul>
<li>check_ldap: add certificate support</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1195/files#diff-0">THANKS.in</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1195/files#diff-1">plugins/Makefile.am</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1195/files#diff-2">plugins/check_ldap.c</a>
(58)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1195/files#diff-3">plugins/netutils.h</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1195/files#diff-4">plugins/sslutils.c</a>
(11)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/nagios-plugins/nagios-plugins/pull/1195.patch'>https://github.com/nagios-plugins/nagios-plugins/pull/1195.patch</a></li>
<li><a href='https://github.com/nagios-plugins/nagios-plugins/pull/1195.diff'>https://github.com/nagios-plugins/nagios-plugins/pull/1195.diff</a></li>
</ul>