apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [Patch] LDAP SSL support for Tivoli
Date Sat, 01 Dec 2007 17:22:54 GMT
Jeff Trawick wrote:

>> Supporting a certificate label isn't something easily done within the
>> current API, and the API cannot be changed until APR v2.
> Solvable via apr_foo_ex() in apr 1.3, right?

The problem is that the Tivoli API wants the label in the call wrapped 
by apr_ldap_init(), and apr_ldap_init() doesn't have an option to 
specify a label.

There needs to be a new apr_ldap_init function, possibly like this:

APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool,
                                LDAP **ldap,
                                const char *hostname,
                                int portno,
                                int secure,
                                const char *label,
                                apr_ldap_err_t **result_err)


View raw message