Lines Matching refs:groups

54 } groups[] = {{"test-group1", "S-1-5-21-3623811015-3361044348-30300820-2001",  2001},
379 groups[0].short_name, exp_ret);
389 cache_refresh_percent, groups[0].gid, exp_ret);
499 prepare_group(ctx->tctx->dom, &groups[0], 1000, time(NULL));
503 prepare_group(ctx->tctx->dom, &groups[1], 1000, time(NULL));
513 prepare_group(domain, &groups[0], 1000, time(NULL));
1584 prepare_group(domain, &groups[0], 1000, time(NULL));
1589 mock_parse_inp(groups[0].short_name, NULL, ERR_OK);
1594 check_group(test_ctx, &groups[0], domain);
1606 mock_parse_inp(groups[0].short_name, NULL, ERR_OK);
1644 prepare_group(domain, &groups[0], 1000, time(NULL));
1650 input_fqn = talloc_asprintf(test_ctx, "%s@%s", groups[0].short_name,
1658 mock_parse_inp(groups[0].short_name, "responder_cache_req_test_d", ERR_OK);
1672 check_group(test_ctx, &groups[0], domain);
1687 prepare_group(test_ctx->tctx->dom, &groups[0], 1000, time(NULL));
1691 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
1701 prepare_group(test_ctx->tctx->dom, &groups[0], -1000, time(NULL));
1711 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
1721 prepare_group(test_ctx->tctx->dom, &groups[0], 50, time(NULL) - 26);
1730 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
1742 fqname = sss_create_internal_fqname(test_ctx, groups[0].short_name,
1772 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
1801 prepare_group(domain, &groups[0], 1000, time(NULL));
1811 check_group(test_ctx, &groups[0], domain);
1850 prepare_group(domain, &groups[0], 1000, time(NULL));
1867 check_group(test_ctx, &groups[0], domain);
1892 prepare_group(domain, &groups[0], -1000, time(NULL));
1905 check_group(test_ctx, &groups[0], domain);
1931 prepare_group(domain, &groups[0], 1000, time(NULL));
1945 check_group(test_ctx, &groups[0], domain);
1971 prepare_group(domain, &groups[0], -1000, time(NULL));
1987 check_group(test_ctx, &groups[0], domain);
2013 prepare_group(domain, &groups[0], 50, time(NULL) - 26);
2027 check_group(test_ctx, &groups[0], domain);
2068 check_group(test_ctx, &groups[0], domain);
2108 prepare_group(domain, &groups[0], -1000, time(NULL));
2123 check_group(test_ctx, &groups[0], domain);
2130 check_group(test_ctx, &groups[0], domain);
2142 prepare_group(test_ctx->tctx->dom, &groups[0], 1000, time(NULL));
2146 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2156 prepare_group(test_ctx->tctx->dom, &groups[0], -1000, time(NULL));
2166 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2176 prepare_group(test_ctx->tctx->dom, &groups[0], 50, time(NULL) - 26);
2185 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2196 ret = sss_ncache_set_gid(test_ctx->ncache, false, NULL, groups[0].gid);
2220 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2480 prepare_group(test_ctx->tctx->dom, &groups[1], 1001, time(NULL) - 1);
2507 groups[0].short_name);
2525 prepare_group(test_ctx->tctx->dom, &groups[1], 1001, time(NULL) - 1);
2555 group_names[0] = sss_create_internal_fqname(group_names, groups[0].short_name,
2558 group_names[1] = sss_create_internal_fqname(group_names, groups[1].short_name,
2804 prepare_group(test_ctx->tctx->dom, &groups[0], 1000, time(NULL));
2808 groups[0].sid, attrs, 0, ERR_OK);
2809 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2820 prepare_group(test_ctx->tctx->dom, &groups[0], -1000, time(NULL));
2829 groups[0].sid, attrs, 0, ERR_OK);
2831 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2842 prepare_group(test_ctx->tctx->dom, &groups[0], 50, time(NULL) - 26);
2850 groups[0].sid, attrs, 50, ERR_OK);
2852 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2864 ret = sss_ncache_set_sid(test_ctx->ncache, false, groups[0].sid);
2869 groups[0].sid, attrs, 0, ENOENT);
2889 groups[0].sid, attrs, 0, ERR_OK);
2891 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
2907 groups[0].sid, attrs, 0, ENOENT);
2924 prepare_group(domain, &groups[0], 1000, time(NULL));
2931 run_object_by_sid(test_ctx, NULL, groups[0].sid, attrs, 0, ERR_OK);
2933 check_group(test_ctx, &groups[0], domain);
2948 run_object_by_sid(test_ctx, NULL, groups[0].sid, attrs, 0, ENOENT);
3125 prepare_group(test_ctx->tctx->dom, &groups[0], 1000, time(NULL));
3128 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3129 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
3140 prepare_group(test_ctx->tctx->dom, &groups[0], -1000, time(NULL));
3148 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3150 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
3161 prepare_group(test_ctx->tctx->dom, &groups[0], 50, time(NULL) - 26);
3168 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 50, ERR_OK);
3170 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
3189 groups[0].gid);
3195 groups[0].gid);
3201 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ENOENT);
3220 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3222 check_group(test_ctx, &groups[0], test_ctx->tctx->dom);
3237 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ENOENT);
3254 prepare_group(domain, &groups[0], 1000, time(NULL));
3262 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3264 check_group(test_ctx, &groups[0], domain);
3280 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ENOENT);
3619 prepare_group(domain, &groups[0], 1000, time(NULL));
3629 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3635 check_group(test_ctx, &groups[0], domain);
3661 prepare_group(domain, &groups[0], -1000, time(NULL));
3671 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3674 check_group(test_ctx, &groups[0], domain);
3701 prepare_group(domain, &groups[0], 1000, time(NULL));
3707 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3715 check_group(test_ctx, &groups[0], domain);
3742 prepare_group(domain, &groups[0], -1000, time(NULL));
3755 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3758 check_group(test_ctx, &groups[0], domain);
3785 prepare_group(domain, &groups[0], 50, time(NULL) - 26);
3796 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 50, ERR_OK);
3799 check_group(test_ctx, &groups[0], domain);
3833 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ERR_OK);
3841 check_group(test_ctx, &groups[0], domain);
3858 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, ENOENT);
3885 prepare_group(domain, &groups[0], -1000, time(NULL));
3898 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, EOK);
3900 check_group(test_ctx, &groups[0], domain);
3906 run_object_by_id(test_ctx, NULL, groups[0].gid, attrs, 0, EOK);
3907 check_group(test_ctx, &groups[0], domain);