From f65de07e7e4a4a19b45f0c1543ba7669a1f5e867 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Thu, 19 Jul 2007 21:05:16 +0000 Subject: [PATCH] revert revision 555470 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@557772 13f79535-47bb-0310-9956-ffa450edef68 --- include/util_ldap.h | 6 +++--- modules/aaa/mod_authnz_ldap.c | 2 +- modules/ldap/util_ldap.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/util_ldap.h b/include/util_ldap.h index 94a41a6df7..d03e67fd66 100644 --- a/include/util_ldap.h +++ b/include/util_ldap.h @@ -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 */ - int deref; /* how to handle alias dereferening */ + deref_options 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, int deref, + * const char *binddn, const char *bindpw, deref_options 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, int deref, + const char *binddn, const char *bindpw, deref_options deref, int secure)); /** diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c index 927a5ab133..38d83daff4 100644 --- a/modules/aaa/mod_authnz_ldap.c +++ b/modules/aaa/mod_authnz_ldap.c @@ -57,7 +57,7 @@ typedef struct { char **attributes; /* Array of all the attributes to return */ int scope; /* Scope of the search */ char *filter; /* Filter to further limit the search */ - int deref; /* how to handle alias dereferening */ + deref_options deref; /* how to handle alias dereferening */ char *binddn; /* DN to bind to server (can be NULL) */ char *bindpw; /* Password to bind to server (can be NULL) */ diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index fc6409e679..459a0cdb01 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -441,7 +441,7 @@ static util_ldap_connection_t * uldap_connection_find(request_rec *r, const char *host, int port, const char *binddn, const char *bindpw, - int deref, int secure) + deref_options deref, int secure) { struct util_ldap_connection_t *l, *p; /* To traverse the linked list */ int secureflag = secure; -- 2.50.1