[dev] [Auth_ldap fix (fwd)]

Jon Parise jon at horde.org
Thu Feb 19 22:10:20 PST 2004


----- Forwarded message from Armando Martin <Armando.Martin at mat.upc.es> -----

Date: Wed, 18 Feb 2004 17:12:56 +0100
From: Armando Martin <Armando.Martin at mat.upc.es>
Subject: Auth_ldap fix
To: jon at horde.org
X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U)

Hi Jon,

I think that file ldap.php at /usr/share/pear/Horde/Auth/ should be
modify to be correct

At the end of the file ....


{
        /* Set the LDAP protocol version. */
        if (isset($this->_params['version'])) {
            if (!ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION,
                                 $this->_params['version'])) {
                Horde::logMessage(
                    sprintf('Set LDAP protocol version to %d failed:
[%d] %s',
                            $this->_params['version'],
                            ldap_errno($conn),
                            ldap_error($conn),


/*  I have to add ")"  --------------------------(here)
                            __FILE__, __LINE__));
            }
        }
    }

}


----- End forwarded message -----

-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the dev mailing list