#5 LDAP protocol version: PluginSetting / "auto"

closed-fixed
daniel hahler
ldap_plugin (1)
5
2007-08-18
2007-05-02
daniel hahler
No

The LDAP protocol needs to be configurable.

E.g., if a server only supports version 3,
ldap_set_option($ldap_conn, LDAP_OPT_PROTOCOL_VERSION, 3);
would be required (maybe depending on php.ini).

I'd say to have a PluginSetting for this, which defaults to "auto". In this case, we would try binding in the following order:
1. Without setting LDAP_OPT_PROTOCOL_VERSION
2. Setting LDAP_OPT_PROTOCOL_VERSION=3
3. Setting LDAP_OPT_PROTOCOL_VERSION=2

See http://forums.b2evolution.net//viewtopic.php?p=53690#53690

Discussion

  • daniel hahler
    daniel hahler
    2007-08-18

    Logged In: YES
    user_id=663176
    Originator: YES

    Added in SVN revision 466 and will be in version 2.01.

     
  • daniel hahler
    daniel hahler
    2007-08-18

    • assigned_to: nobody --> blueyed
    • status: open --> closed-fixed