From 297f320e6f30aa973b275efc4aed59bf8c45fc0a Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Wed, 18 Nov 2009 15:40:27 -0500 Subject: attributes['username'] is required --- plugins/LdapAuthentication/LdapAuthenticationPlugin.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/LdapAuthentication') diff --git a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php index 555dabf78..25531a811 100644 --- a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php +++ b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php @@ -189,7 +189,6 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin } $filter = Net_LDAP2_Filter::create($this->attributes['username'], 'equals', $username); $options = array( - 'scope' => 'sub', 'attributes' => $attributes ); $search = $ldap->search(null,$filter,$options); -- cgit v1.2.3-54-g00ecf