didn't compile without cyrus-sasl

This commit is contained in:
Jong Hyuk Choi 2003-09-25 01:00:34 +00:00
parent cd108bb682
commit 8693f3361d

View file

@ -449,9 +449,12 @@ ldap_sasl_interactive_bind_s(
goto done;
} else
#endif
#ifdef HAVE_CYRUS_SASL
if( mechs == NULL || *mechs == '\0' ) {
mechs = ld->ld_options.ldo_def_sasl_mech;
}
#endif
if( mechs == NULL || *mechs == '\0' ) {
rc = ldap_pvt_sasl_getmechs( ld, &smechs );