From fd57617c8ee9b882eea1e2cc929dcb87a3655b7b Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 8 Jul 2017 01:48:29 -0700 Subject: [PATCH] Check that the LDAP extension is loaded and functions are available --- resources/views/settings/ldap.blade.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/resources/views/settings/ldap.blade.php b/resources/views/settings/ldap.blade.php index af95da577..274789f62 100644 --- a/resources/views/settings/ldap.blade.php +++ b/resources/views/settings/ldap.blade.php @@ -20,6 +20,18 @@ } + @if ((!function_exists('ldap_connect')) || (!function_exists('ldap_set_option')) || (!function_exists('ldap_bind'))) +
+
+
+
+ It doesn't look like the LDAP extension is installed or enabled on this server. :( +
+
+
+
+ + @else {{ Form::open(['method' => 'POST', 'files' => true, 'class' => 'form-horizontal', 'role' => 'form' ]) }} @@ -347,10 +359,15 @@ + + + + {{Form::close()}} + @endif @stop