goto done;
op->o_bd->bd_info = (BackendInfo *)on;
- if ( !aa->agd ) {
+ {
autogroup_entry_t *age;
autogroup_filter_t *agf;
struct berval odn, ondn;
for ( age = agi->agi_entry ; age ; age = age->age_next ) {
if ( dn_match( &age->age_ndn, &op->o_req_ndn )) {
Debug( LDAP_DEBUG_TRACE, "autogroup_response MODRDN updating group's DN to <%s>\n", op->orr_newDN.bv_val );
- ber_dupbv( &age->age_dn, &op->orr_newDN );
- ber_dupbv( &age->age_ndn, &op->orr_nnewDN );
-
- overlay_entry_release_ov( op, e, 0, on );
- ldap_pvt_thread_mutex_unlock( &agi->agi_mutex );
- return SLAP_CB_CONTINUE;
+ ber_bvreplace( &age->age_dn, &op->orr_newDN );
+ ber_bvreplace( &age->age_ndn, &op->orr_nnewDN );
+ goto break1;
}
}
}
}
+break1:
/* For each group:
1. check if the original entry's DN is in the group.
updated. For searches and compares, it behaves like a static group.
If the attribute part of the URI is filled, the group entry is populated by
the values of this attribute in the entries resulting from the search.
+
+Note that filters that use attributes that are themselves dynamically
+computed may not work consistently, and should be avoided.
.SH CONFIGURATION
Either
.BR \FCslapd.conf\FT (5)