Lines Matching defs:map

281     struct sdap_attr_map *map;
304 ret = sdap_copy_map(test_ctx, ipa_user_map, SDAP_OPTS_USER, &map);
308 map, SDAP_OPTS_USER,
339 /* The extra attribute must not be downloaded, it's not present in map */
343 talloc_free(map);
347 /* Some searches, like rootDSE search do not use any map */
398 struct sdap_attr_map *map;
410 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &map);
414 map, SDAP_OPTS_USER,
422 talloc_free(map);
433 struct sdap_attr_map *map;
448 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &map);
452 if (map[i].name == NULL) continue;
454 if (strcmp(map[i].name, "uidNumber") == 0
455 || strcmp(map[i].name, "gidNumber") == 0) {
456 map[i].name = discard_const("idNumber");
461 map, SDAP_OPTS_USER,
474 talloc_free(map);
500 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &minfo.map);
509 talloc_free(minfo.map);
513 /* The extra attribute must not be downloaded, it's not present in map */
515 assert_true(res[0]->map == minfo.map);
537 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &minfo.map);
546 talloc_free(minfo.map);
571 ret = sdap_copy_map(test_ctx, rfc2307_group_map, SDAP_OPTS_GROUP, &minfo.map);
580 talloc_free(minfo.map);
583 /* the group map didn't match, so no attrs will be parsed out of the map */
595 struct sdap_attr_map *map;
609 ret = sdap_copy_map(test_ctx, rfc2307_group_map, SDAP_OPTS_GROUP, &map);
611 map[SDAP_OC_GROUP_ALT].name = discard_const("secondaryOC");
614 map, SDAP_OPTS_GROUP,
618 talloc_free(map);
622 /* Negative test - objectclass doesn't match the map */
630 struct sdap_attr_map *map;
644 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &map);
648 map, SDAP_OPTS_USER,
652 talloc_free(map);
665 struct sdap_attr_map *map;
677 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &map);
681 map, SDAP_OPTS_USER,
685 talloc_free(map);
698 struct sdap_attr_map *map;
712 ret = sdap_copy_map(test_ctx, rfc2307_user_map, SDAP_OPTS_USER, &map);
716 map, SDAP_OPTS_USER,
720 talloc_free(map);