From 0189fb08287a9558f674a1bab1437632b426797b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 6 Feb 2009 00:01:38 +0000 Subject: [PATCH] More for #5812, ifdef NOCANON option --- clients/tools/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/tools/common.c b/clients/tools/common.c index c411e4480b..cb23ef41c2 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -1287,6 +1287,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 ) @@ -1295,6 +1296,7 @@ dnssrv_free:; nocanon ? "on" : "off" ); exit( EXIT_FAILURE ); } +#endif if( ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &protocol ) != LDAP_OPT_SUCCESS ) { -- 2.39.5