[Date Prev][Date Next]
(ITS#8262) libldap API enhancement
Full_Name: Howard Chu
Submission from: (NULL) (184.108.40.206)
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.