From 0fedef433bcaf99b27b8ad236e6be49b019bcec5 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 1 Dec 2013 10:02:48 +0000 Subject: [PATCH] try to fix Samba4 tree problems --- lam/templates/3rdParty/pla/lib/ds_myldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/templates/3rdParty/pla/lib/ds_myldap.php b/lam/templates/3rdParty/pla/lib/ds_myldap.php index cb07a837..08d08c16 100644 --- a/lam/templates/3rdParty/pla/lib/ds_myldap.php +++ b/lam/templates/3rdParty/pla/lib/ds_myldap.php @@ -186,7 +186,7 @@ class myldap extends DS { /* Disabling this makes it possible to browse the tree for Active Directory, and seems * to not affect other LDAP servers (tested with OpenLDAP) as phpLDAPadmin explicitly * specifies deref behavior for each ldap_search operation. */ -// ldap_set_option($resource,LDAP_OPT_REFERRALS,0); + ldap_set_option($resource,LDAP_OPT_REFERRALS,1); # Try to fire up TLS is specified in the config if ($this->isTLSEnabled())