Skip to content

A free open source IT asset/license management system

Add start of Tracing to LDAP troubleshooter

Brady Wetherington312a90ce7763
diff --git a/app/Console/Commands/LdapTroubleshooter.php b/app/Console/Commands/LdapTroubleshooter.php
index 40dc70d55f..c0db55aae7 100644
--- a/app/Console/Commands/LdapTroubleshooter.php
+++ b/app/Console/Commands/LdapTroubleshooter.php
@@ -74,6 +74,8 @@ class LdapTroubleshooter extends Command
*/
public function handle()
{
+ ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);
+
$settings = Setting::getSettings();
if($this->option('ldap-search')) {
if(!$this->option('force')) {