mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
metze
(This used to be commit 873eaff8fe
)
This commit is contained in:
parent
fc3f3c655b
commit
77619f37a0
@ -3482,7 +3482,7 @@ if test x"$with_ldap_support" != x"no"; then
|
||||
# SASL wrapping hooks
|
||||
AC_CHECK_FUNC_EXT(ber_sockbuf_add_io,$LDAP_LIBS)
|
||||
if test x"$ac_cv_func_ext_ber_sockbuf_add_io" = x"yes"; then
|
||||
AC_DEFINE(HAVE_ADS_SASL_WRAPPING, 1, [Support for SASL wrapping])
|
||||
AC_DEFINE(HAVE_LDAP_SASL_WRAPPING, 1, [Support for SASL wrapping])
|
||||
fi
|
||||
|
||||
########################################################
|
||||
|
@ -61,11 +61,11 @@ typedef struct {
|
||||
time_t last_attempt; /* last attempt to reconnect */
|
||||
int port;
|
||||
|
||||
#ifdef HAVE_ADS_SASL_WRAPPING
|
||||
#ifdef HAVE_LDAP_SASL_WRAPPING
|
||||
Sockbuf_IO_Desc *sbiod; /* lowlevel state for LDAP wrapping */
|
||||
#endif /* HAVE_ADS_SASL_WRAPPING */
|
||||
#endif /* HAVE_LDAP_SASL_WRAPPING */
|
||||
} ldap;
|
||||
#endif /* HAVE_ADS */
|
||||
#endif /* HAVE_LDAP */
|
||||
} ADS_STRUCT;
|
||||
|
||||
/* used to remember the names of the posix attributes in AD */
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#ifdef HAVE_ADS_SASL_WRAPPING
|
||||
#ifdef HAVE_LDAP_SASL_WRAPPING
|
||||
|
||||
static int ads_saslwrap_setup(Sockbuf_IO_Desc *sbiod, void *arg)
|
||||
{
|
||||
@ -106,4 +106,4 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads)
|
||||
return ADS_SUCCESS;
|
||||
}
|
||||
|
||||
#endif /* HAVE_ADS_SASL_WRAPPING */
|
||||
#endif /* HAVE_LDAP_SASL_WRAPPING */
|
||||
|
Loading…
Reference in New Issue
Block a user