mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
didn't compile without cyrus-sasl
This commit is contained in:
parent
cd108bb682
commit
8693f3361d
1 changed files with 3 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue