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

(ITS#8262) libldap API enhancement



Full_Name: Howard Chu
Version: 2.4
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (70.211.141.184)
Submitted by: hyc


libldap has always (since initial commit) had an ldap_build_search_request()
function which constructs the ber of the request message. This ber can then be
sent to a server using ldap_send_initial_request().

Corresponding build* functions are missing for all of the other request types.
There doesn't appear to be a good reason for this inconsistency, and it would be
useful to be able to handle all request types the same way. In particular, it's
useful for a caller to know the messageID of the new request before attempting
to send it over the wire. This would make a number of issues in
back-ldap/back-meta easier to deal with.