From: Quanah Gibson-Mount Date: Fri, 6 Feb 2009 00:05:03 +0000 (+0000) Subject: ITS#5812 X-Git-Tag: OPENLDAP_REL_ENG_2_4_14~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3730d6554797991346aea17873c218f3e127eaa;p=openldap ITS#5812 --- diff --git a/clients/tools/common.c b/clients/tools/common.c index e0a6c0c8cc..38f8441520 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -1263,6 +1263,7 @@ dnssrv_free:; exit( EXIT_FAILURE ); } +#ifdef HAVE_CYRUS_SASL /* canon */ if( ldap_set_option( ld, LDAP_OPT_X_SASL_NOCANON, nocanon ? LDAP_OPT_ON : LDAP_OPT_OFF ) != LDAP_OPT_SUCCESS ) @@ -1271,6 +1272,7 @@ dnssrv_free:; nocanon ? "on" : "off" ); exit( EXIT_FAILURE ); } +#endif if( ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &protocol ) != LDAP_OPT_SUCCESS ) {