This allows for nested attributes to be handled in the rlm_ldap module
update map such that
update {
&control += "radiusControlAttribute"
}
with a directory entry containting
radiusControlAttribute: Vendor-Specific.Cisco.AVPair += 'foo=bar'
will result in the correct nested structure being built.
goto next_pair;
}
- if (map_to_vp(ctx, &tmp_list, request, attr, NULL) < 0) {
+ if (map_to_request(request, attr, map_to_vp, NULL) < 0) {
RWDEBUG("Failed creating attribute for valuepair \"%pV\", skipping...",
fr_box_strvalue_len(self->values[i]->bv_val, self->values[i]->bv_len));
goto next_pair;
}
- fr_pair_list_append(&head, &tmp_list);
talloc_free(attr);
/*