Skip to content

Commit

Permalink
apr_ldap: Make the sasl callback disappear when OpenLDAP is not
Browse files Browse the repository at this point in the history
used.


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1920017 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
minfrin committed Aug 19, 2024
1 parent 0c80d00 commit d810ad7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ldap/apr_ldap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1782,6 +1782,7 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_poll(apr_pool_t *pool,



#if APR_HAS_OPENLDAP_LDAPSDK

typedef struct apr_ldap_bind_ctx_t {
apr_ldap_t *ld;
Expand Down Expand Up @@ -1832,6 +1833,8 @@ static int bind_sasl_interact(LDAP *ld, unsigned flags, void *ctx, void *in)
return LDAP_SUCCESS;
}

#endif


/**
* APR LDAP bind function
Expand Down

0 comments on commit d810ad7

Please sign in to comment.