mirror of
https://github.com/apache/httpd.git
synced 2025-11-08 04:22:21 +03:00
This data is passed in an unsafe way to the LDAP SDK if the compiler
chooses to use shorts for the enum values. http://www.redbooks.ibm.com/redbooks/SG245992/nn4/SG245992_88.html Submitted by: David Jones git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@555470 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -96,7 +96,7 @@ typedef struct util_ldap_connection_t {
|
||||
|
||||
const char *host; /* Name of the LDAP server (or space separated list) */
|
||||
int port; /* Port of the LDAP server */
|
||||
deref_options deref; /* how to handle alias dereferening */
|
||||
int deref; /* how to handle alias dereferening */
|
||||
|
||||
const char *binddn; /* DN to bind to server (can be NULL) */
|
||||
const char *bindpw; /* Password to bind to server (can be NULL) */
|
||||
@@ -206,11 +206,11 @@ APR_DECLARE_OPTIONAL_FN(apr_status_t,uldap_connection_cleanup,(void *param));
|
||||
* use this connection while it is busy. Once you are finished with a connection,
|
||||
* apr_ldap_connection_close() must be called to release this connection.
|
||||
* @fn util_ldap_connection_t *util_ldap_connection_find(request_rec *r, const char *host, int port,
|
||||
* const char *binddn, const char *bindpw, deref_options deref,
|
||||
* const char *binddn, const char *bindpw, int deref,
|
||||
* int netscapessl, int starttls)
|
||||
*/
|
||||
APR_DECLARE_OPTIONAL_FN(util_ldap_connection_t *,uldap_connection_find,(request_rec *r, const char *host, int port,
|
||||
const char *binddn, const char *bindpw, deref_options deref,
|
||||
const char *binddn, const char *bindpw, int deref,
|
||||
int secure));
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user