mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9343 Let backend_attribute read operational attributes
back-mdb checks requested attribute is present in the entry which can obstruct the fallback to backend_operational.
This commit is contained in:
parent
7c5159a904
commit
1fac13d239
1 changed files with 6 additions and 2 deletions
|
|
@ -1732,7 +1732,9 @@ fe_acl_attribute(
|
|||
|
||||
} else {
|
||||
op->o_private = NULL;
|
||||
rc = be_entry_get_rw( op, edn, NULL, entry_at, 0, &e );
|
||||
rc = be_entry_get_rw( op, edn, NULL,
|
||||
is_at_operational( entry_at->ad_type ) ? NULL : entry_at,
|
||||
0, &e );
|
||||
e_priv = op->o_private;
|
||||
op->o_private = o_priv;
|
||||
}
|
||||
|
|
@ -1893,7 +1895,9 @@ backend_access(
|
|||
|
||||
} else {
|
||||
op->o_private = NULL;
|
||||
rc = be_entry_get_rw( op, edn, NULL, entry_at, 0, &e );
|
||||
rc = be_entry_get_rw( op, edn, NULL,
|
||||
is_at_operational( entry_at->ad_type ) ? NULL : entry_at,
|
||||
0, &e );
|
||||
e_priv = op->o_private;
|
||||
op->o_private = o_priv;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue