if (strchr(ctx->cur_map.pattern, '$') != NULL)
return "Missing attributes for pattern variables";
}
- array_push_back(&ctx->set->maps, &ctx->cur_map);
+ array_push_back(&ctx->set->parsed_maps, &ctx->cur_map);
i_zero(&ctx->cur_map);
return NULL;
}
ctx.pool = pool;
ctx.set = p_new(pool, struct dict_ldap_settings, 1);
t_array_init(&ctx.cur_attributes, 16);
- p_array_init(&ctx.set->maps, pool, 8);
+ p_array_init(&ctx.set->parsed_maps, pool, 8);
ctx.set->timeout = 30; /* default timeout */
ctx.set->require_ssl = FALSE; /* try to start SSL */
unsigned int i, count;
t_array_init(values, 2);
- maps = array_get(&dict->set->maps, &count);
+ maps = array_get(&dict->set->parsed_maps, &count);
for (i = 0; i < count; i++) {
if (dict_ldap_map_match(&maps[i], path, values))
return &maps[i];