Commit a97fa056 authored by Howard Chu's avatar Howard Chu
Browse files

Fix typos in prev commit

parent 1cb6c196
......@@ -1958,9 +1958,9 @@ acl_check_modlist(
break;
case LDAP_MOD_DELETE:
ak.ak_access = ( mlist->sml_flags & SLAP_MOD_MANAGING ) ? ACL_MANAGE : ACL_WDEL;
if ( mlist->sml_values == NULL ) {
ak.ak_val = NULL;
ak.ak_access = ( mlist->sml_flags & SLAP_MOD_MANAGING ) ? ACL_MANAGE : ACL_WDEL;
if ( ! access_allowed( op, &ak ))
{
ret = 0;
......
......@@ -6041,7 +6041,7 @@ config_back_search( Operation *op, SlapReply *rs )
ak.ak_val = NULL;
ak.ak_access = ACL_SEARCH;
ak.ak_state = NULL;
if ( !access_allowed_mask( op, &ak ))
if ( !access_allowed( op, &ak ))
{
if ( !ACL_GRANT( ak.ak_mask, ACL_DISCLOSE )) {
rs->sr_err = LDAP_NO_SUCH_OBJECT;
......
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