mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
More for #5812, ifdef NOCANON option
This commit is contained in:
parent
044b646445
commit
0189fb0828
@ -1287,6 +1287,7 @@ dnssrv_free:;
|
|||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_CYRUS_SASL
|
||||||
/* canon */
|
/* canon */
|
||||||
if( ldap_set_option( ld, LDAP_OPT_X_SASL_NOCANON,
|
if( ldap_set_option( ld, LDAP_OPT_X_SASL_NOCANON,
|
||||||
nocanon ? LDAP_OPT_ON : LDAP_OPT_OFF ) != LDAP_OPT_SUCCESS )
|
nocanon ? LDAP_OPT_ON : LDAP_OPT_OFF ) != LDAP_OPT_SUCCESS )
|
||||||
@ -1295,6 +1296,7 @@ dnssrv_free:;
|
|||||||
nocanon ? "on" : "off" );
|
nocanon ? "on" : "off" );
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if( ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &protocol )
|
if( ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &protocol )
|
||||||
!= LDAP_OPT_SUCCESS )
|
!= LDAP_OPT_SUCCESS )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user