mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix prev commit
This commit is contained in:
parent
cc2288b444
commit
7e27799b95
@ -187,7 +187,7 @@ root_dse_info(
|
||||
snprintf(buf, sizeof buf, "%d", i);
|
||||
val.bv_val = buf;
|
||||
val.bv_len = strlen( val.bv_val );
|
||||
if( attr_merge( e, ad_supportedLDAPVersion, &val, NULL ) ) {
|
||||
if( attr_merge_one( e, ad_supportedLDAPVersion, &val, NULL ) ) {
|
||||
return LDAP_OTHER;
|
||||
}
|
||||
}
|
||||
@ -199,7 +199,7 @@ root_dse_info(
|
||||
for ( i=0; supportedSASLMechanisms[i] != NULL; i++ ) {
|
||||
val.bv_val = supportedSASLMechanisms[i];
|
||||
val.bv_len = strlen( val.bv_val );
|
||||
if( attr_merge( e, ad_supportedSASLMechanisms, &val, NULL ) ) {
|
||||
if( attr_merge_one( e, ad_supportedSASLMechanisms, &val, NULL ) ) {
|
||||
return LDAP_OTHER;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user