mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
Allow overlays to override operational attributes on add (needed
to preserve 2.2 SLAPI behaviour; see comments for further info)
This commit is contained in:
parent
30610c6f70
commit
d0ad4b3f3e
1 changed files with 11 additions and 0 deletions
|
|
@ -418,6 +418,17 @@ slap_mods2entry(
|
|||
#ifdef SLURPD_FRIENDLY
|
||||
ber_len_t i,j;
|
||||
|
||||
if ( !initial ) {
|
||||
/*
|
||||
* This check allows overlays to override operational
|
||||
* attributes by setting them directly in the entry.
|
||||
* We assume slap_mods_no_user_mod_check() was called
|
||||
* with the user modifications.
|
||||
*/
|
||||
*text = NULL;
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
for( i=0; attr->a_vals[i].bv_val; i++ ) {
|
||||
/* count them */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue