Commit 88d9df29 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5581

parent dd719e81
...@@ -17,6 +17,7 @@ OpenLDAP 2.4.11 Engineering ...@@ -17,6 +17,7 @@ OpenLDAP 2.4.11 Engineering
Fixed slapo-ppolicy DNs with whitespaces (ITS#5552) Fixed slapo-ppolicy DNs with whitespaces (ITS#5552)
Fixed slapo-syncprov ACL evaluation (ITS#5548) Fixed slapo-syncprov ACL evaluation (ITS#5548)
Fixed slapo-syncprov full reload (ITS#5564) Fixed slapo-syncprov full reload (ITS#5564)
Fixed slapo-unique filter normalization (ITS#5581)
Fixed contrib smbk5pwd terminator (ITS#5575) Fixed contrib smbk5pwd terminator (ITS#5575)
Build Environment Build Environment
Fixed test048 to skip if threads is not available (ITS#5529) Fixed test048 to skip if threads is not available (ITS#5529)
......
...@@ -238,15 +238,15 @@ unique_new_domain_uri ( unique_domain_uri **urip, ...@@ -238,15 +238,15 @@ unique_new_domain_uri ( unique_domain_uri **urip,
} }
if (url_desc->lud_filter) { if (url_desc->lud_filter) {
Filter * f; Filter *f = str2filter( url_desc->lud_filter );
ber_str2bv( url_desc->lud_filter, 0, 1, &uri->filter );
f = str2filter( uri->filter.bv_val );
if ( !f ) { if ( !f ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ), snprintf( c->cr_msg, sizeof( c->cr_msg ),
"unique: bad filter"); "unique: bad filter");
rc = ARG_BAD_CONF; rc = ARG_BAD_CONF;
goto exit; goto exit;
} }
/* make sure the strfilter is in normal form (ITS#5581) */
filter2bv( f, &uri->filter );
filter_free( f ); filter_free( f );
} }
exit: exit:
......
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