Version 2 by Maks 3w
on Feb 16, 2012 13:28.

compared with
Current by Maks 3w
on Feb 16, 2012 13:32.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (18)

View Page History
h2. Problem
<h2>Problem</h2>

<p>When users are trying authenticate against an offline ldap directory they must wait a timeout of 30 seconds before receive any answer from the server.</p>

h2. Proposed Solution
<h2>Proposed Solution</h2>

<p>Use the new LDAP option (LDAP_OPT_NETWORK_TIMEOUT) to customize the timeout value. This option is available since PHP v5.3.0</p>

h2. Changes
<h2>Changes</h2>

<ul>
* Add <li>Add a new optional Configuration/Option into the API called `networkTimeout` for sets the network timeout value.</li>
* Add <li>Add a new optional argument called $networkTimeout in function connect()</li>
* Set the ldap option before call ldap_connect() if a custom value was defined.
<li>Set the ldap option after ldap_connect() if a custom value was defined.</li>
</ul>

h2. Consistency and b/c

<h2>Consistency and b/c</h2>

<ul>
* The <li>The code will be still maintaining the backward compatibility between ZF2 releases.</li>
* This proposal is not compatible wih ZF1 requirements.
<li>This proposal is not compatible wih ZF1 requirements.</li>
</ul>