[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_<set/get>_option() weirdness



Hallvard B Furuseth wrote:

ldap_set_option() and ldap_get_option() have many strange behaviors.
Which of these should I document, which should be changed, and which
options and nuances below should just be omitted from the man page?

(I'm reading some libldap source and
doc/drafts/draft-ietf-ldapext-ldap-c-api-xx.txt.)


* ldap.conf vs. C API:

ldap.conf options BINDDN, BASE, PORT have no equivalent C API calls.

ldap.conf options SASL_AUTHCID, SASL_AUTHZID, SASL_MECH, SASL_REALM
cannot be set with the C API.

I think it would be a very good idea to make all options settable in ldap.conf also settable through C API .
Otherwise OpenLDAP forces all applications that use libldap to also use ldap.conf, which might be unacceptable when an application has own configuration system.


Regards,

Alexey
__________________________________________
Isode M-Box Message Store developer
http://www.isode.com/products/m-box.html

IETF standard related pages:
http://www.melnikov.ca/mel/devel/Links.html

Personal Home Page: http://www.melnikov.ca
__________________________________________