← Back to team overview

phpdevshell team mailing list archive

[Bug 1032840] Re: AUTH_ldap lookupUers needs to close the ldap connection

 

** Changed in: phpdevshell
       Status: New => Confirmed

** Changed in: phpdevshell
     Assignee: (unassigned) => Greg (gregfr)

** Changed in: phpdevshell
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/1032840

Title:
  AUTH_ldap lookupUers needs to close the ldap connection

Status in Open Source PHP RAD Framework with UI.:
  Confirmed

Bug description:
  AUTH_ldap class's lookupUers function should close the lpad connection
  once its done authenticating/binding the user.

          if (!@ldap_bind($connect, $username, $password)) {
              ldap_close($connect);
              return false;  // if we can't bind it's likely the user is unknown or the password is wrong
          }
          $this->log('Bound');

        
          ldap_close($connect);
          return true;

To manage notifications about this bug go to:
https://bugs.launchpad.net/phpdevshell/+bug/1032840/+subscriptions


References