[Haskell-cafe] Re: ldap-haskell questions

Ferenc Wagner wferi at tba.elte.hu
Wed Jul 26 08:42:36 EDT 2006


"Donn Cave" <donn at drizzle.com> writes:

> Now that I look at what I did with ldap_set_option, I recall that
> s actually a little difficult to assign a type, since the third
> parameter is sometimes Int, Enum, TimeVal, String, and LDAP_OPT_*
> values overlap in a way that doesn't really say "enum" to me.  So
> it's reasonably easy to do something, but harder to do it in a way
> that's generally useful.
>
> I'm also unsure of the portability of the things I'd propose to add.
> I know only the OpenLDAP API, but something about LDAP_OPT_X_TLS
> hints that it may be non-standard.

I ended up binding ldap_initialize, which supports ldaps:
URL-s, and was achievable in a 10 line absolutely
nonintrusive patch (darcs sent).  Good enough for me ATM.
-- 
Best wishes,
Feri.


More information about the Haskell-Cafe mailing list