Commit f67bc268 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

import fix to ITS#5071

parent 9a5c13de
OpenLDAP 2.3 Change Log
OpenLDAP 2.3.38 Engineering
Fixed slapadd check for ';binary' when required (ITS#5071)
Fixed slapd AVA_Sort on multivalued RDNs (ITS#5057)
Fixed slapd integer/pointer types and overflow (ITS#5035)
Fixed slapd select_backend/ManageDSAit (ITS#4986)
......
......@@ -231,6 +231,16 @@ str2entry2( char *s, int checkvals )
goto fail;
}
}
/* require ';binary' when appropriate (ITS#5071) */
if ( slap_syntax_is_binary( ad->ad_type->sat_syntax ) && !slap_ad_is_binary( ad ) ) {
Debug( LDAP_DEBUG_ANY,
"str2entry: attributeType %s #%d: "
"needs ';binary' transfer as per syntax %s\n",
ad->ad_cname.bv_val, 0,
ad->ad_type->sat_syntax->ssyn_oid );
goto fail;
}
}
if (( ad_prev && ad != ad_prev ) || ( i == lines )) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment