Skip to content

Commit

Permalink
apr_ldap: Add write capability to the LDAP API.
Browse files Browse the repository at this point in the history
Support for add, modify, rename, delete, and extended operations.
  • Loading branch information
Graham Leggett committed Feb 11, 2025
1 parent d6bb3f9 commit 7a4c049
Show file tree
Hide file tree
Showing 11 changed files with 1,750 additions and 48 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
-*- coding: utf-8 -*-
Changes for APR 2.0.0

*) apr_ldap: Add write capability to the LDAP API. Support for
add, modify, rename, delete, and extended operations.
[Graham Leggett]

*) apr_ldap: Explicitly detect the case where OpenLDAP has been
installed with SASL support, but the SASL headers are missing.
[Graham Leggett]
Expand Down
3 changes: 3 additions & 0 deletions build/ldap.m4
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ AC_DEFUN([APU_FIND_LDAPLIB], [
[
LDADD_ldap_found="-l${ldaplib} ${extralib}"
AC_CHECK_LIB(${ldaplib}, ldap_sasl_interactive_bind, apu_have_ldap_sasl_interactive_bind="1", , ${extralib})
AC_CHECK_LIB(${ldaplib}, ldap_connect, apu_have_ldap_connect="1", , ${extralib})
apu_have_ldap="1";
], , ${extralib})
fi
Expand All @@ -108,6 +109,7 @@ AC_DEFUN([APU_FIND_LDAP], [
echo $ac_n "${nl}checking for ldap support..."
apu_have_ldap_sasl_interactive_bind="0"
apu_have_ldap_connect="0"
apu_have_ldap="0";
apu_have_ldap_openldap="0"
apu_have_ldap_microsoft="0"
Expand Down Expand Up @@ -227,6 +229,7 @@ AC_CHECK_HEADERS([sasl.h sasl/sasl.h])
AC_SUBST(ldap_h)
AC_SUBST(lber_h)
AC_SUBST(apu_have_ldap_sasl_interactive_bind)
AC_SUBST(apu_have_ldap_connect)
AC_SUBST(apu_have_ldap)
AC_SUBST(apu_have_ldap_openldap)
AC_SUBST(apu_have_ldap_solaris)
Expand Down
Loading

0 comments on commit 7a4c049

Please sign in to comment.