1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING

metze
(This used to be commit 873eaff8fe)
This commit is contained in:
Stefan Metzmacher 2007-07-16 16:08:24 +00:00 committed by Gerald (Jerry) Carter
parent fc3f3c655b
commit 77619f37a0
3 changed files with 6 additions and 6 deletions

View File

@ -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
########################################################

View File

@ -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 */

View File

@ -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 */