apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [Patch] LDAP SSL support for Tivoli
Date Sat, 01 Dec 2007 17:43:25 GMT
On Dec 1, 2007 12:22 PM, Graham Leggett <minfrin@sharp.fm> wrote:
> 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)

An alternative scheme might introduce some type of apr_ldap_t that
could drag along references to this kind of information between calls.


-- 
Eric Covener
covener@gmail.com

Mime
View raw message