Wow, thanks!
I'll read through the patch later today. Paul, if you get to it before me,
please run with it as necessary ;-)
Aaron
On Thu, Dec 21, 2006, "UEMURA (fka. MAENAKA) Tetsuya"
<[EMAIL PROTECTED]> said:
> Hi there.
>
> Attached is a patch adding support for the alternative LDAP DSN syntax
> like "ldapi://%2fvar%2frun%2fopenldap%2fldapi/" against 2_2_branch by
> calling ldap_initialize() instead of ldap_init().
>
> SSL/TLS ("ldaps://foo.bar") might also work but not tested yet. Of
> course "ldap://127.0.0.1" or "ldap://127.0.0.1:389" is working.
>
> The patch contains the following changes.
> a) Add test checking the availability of ldap_initialize() in
> acinclude.m4 because older OpenLDAP doesn't have it.
> b) Add the new LDAP configuration directive "URI" for the alternative
> LDAP DSN in dbmail.conf.
> c) Change ldap_init() to ldap_initialize() and add fallback used when
> ldap_initialize() isn't available in modules/authldap.c.
>
> If the "URI" value isn't empty though there's no ldap_initialize()
> support, the warning is generated instead of using the "URI" value.
>
> Note that, according to LDAP_OPEN(3), ldap_init() is deprecated.
>
> Thanks.
>
> --
> UEMURA (fka. MAENAKA) Tetsuya <[EMAIL PROTECTED]>
>
--
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev