Commit 7dda7a99 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

compute absolute t/f filter

parent 47e403ea
...@@ -14,6 +14,8 @@ OpenLDAP 2.1.18 Engineering ...@@ -14,6 +14,8 @@ OpenLDAP 2.1.18 Engineering
Fixed liblber multi-value decode bug (ITS#2458) Fixed liblber multi-value decode bug (ITS#2458)
Fixed liblber over read bug (ITS#2465) Fixed liblber over read bug (ITS#2465)
Fixed ldappasswd -y support (ITS#2441) Fixed ldappasswd -y support (ITS#2441)
Documentation
Misc man page updates
OpenLDAP 2.1.17 Release OpenLDAP 2.1.17 Release
Fixed libldap_r thread pool context bug (ITS#2404) Fixed libldap_r thread pool context bug (ITS#2404)
......
...@@ -207,6 +207,10 @@ get_filter( ...@@ -207,6 +207,10 @@ get_filter(
if ( err != LDAP_SUCCESS ) { if ( err != LDAP_SUCCESS ) {
break; break;
} }
if ( f->f_and == NULL ) {
f->f_choice = SLAPD_FILTER_COMPUTED;
f->f_result = LDAP_COMPARE_TRUE;
}
break; break;
case LDAP_FILTER_OR: case LDAP_FILTER_OR:
...@@ -220,6 +224,10 @@ get_filter( ...@@ -220,6 +224,10 @@ get_filter(
if ( err != LDAP_SUCCESS ) { if ( err != LDAP_SUCCESS ) {
break; break;
} }
if ( f->f_or == NULL ) {
f->f_choice = SLAPD_FILTER_COMPUTED;
f->f_result = LDAP_COMPARE_FALSE;
}
break; break;
case LDAP_FILTER_NOT: case LDAP_FILTER_NOT:
......
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