Lines Matching refs:TEST_DOM_SID
32 #define TEST_DOM_SID "S-1-5-21-123-456-789"
106 sid = TEST_DOM_SID;
147 sid = TEST_DOM_SID;
259 err = sss_idmap_add_domain(test_ctx->idmap_ctx, TEST_DOM_NAME, TEST_DOM_SID,
263 err = sss_idmap_add_domain(test_ctx->idmap_ctx, TEST_DOM_NAME, TEST_DOM_SID,
268 TEST_DOM_SID, &range, NULL, 0, false);
274 TEST_DOM_SID, &range, NULL, 0, false);
278 TEST_DOM_SID, &range, NULL, TEST_OFFSET,
283 TEST_DOM_SID"1", &range, NULL, TEST_OFFSET,
288 TEST_DOM_SID, &range, NULL, TEST_OFFSET,
293 TEST_DOM_SID, &range, NULL, TEST_OFFSET,
321 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"1-1", &id);
324 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-400000",
331 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-0", &id);
337 assert_string_equal(sid, TEST_DOM_SID"-0");
341 TEST_DOM_SID"-"TEST_OFFSET_STR, &id);
347 assert_string_equal(sid, TEST_DOM_SID"-"TEST_OFFSET_STR);
355 const char* TEST_2922_FIRST_SID = TEST_DOM_SID"-0";
357 const char* TEST_2922_LAST_SID = TEST_DOM_SID"-199999";
359 const char* TEST_2922_LAST_SID_PLUS_ONE = TEST_DOM_SID"-200000";
414 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"1-1", &id);
417 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-4000000",
425 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-0", &id);
431 assert_string_equal(sid, TEST_DOM_SID"-0");
435 TEST_DOM_SID"-"TEST_OFFSET_STR, &id);
441 assert_string_equal(sid, TEST_DOM_SID"-"TEST_OFFSET_STR);
456 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"1-1", &id);
459 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-400000",
466 err = sss_idmap_sid_to_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-0", &id);
473 TEST_DOM_SID"-"TEST_OFFSET_STR, &id);
490 err = sss_idmap_check_sid_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-400000",
494 err = sss_idmap_check_sid_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-400000",
498 err = sss_idmap_check_sid_unix(test_ctx->idmap_ctx, TEST_DOM_SID"1-400000",
502 err = sss_idmap_check_sid_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-400000",
506 err = sss_idmap_check_sid_unix(test_ctx->idmap_ctx, TEST_DOM_SID"-400000",
524 err = sss_idmap_domain_has_algorithmic_mapping(NULL, TEST_DOM_SID,
533 TEST_DOM_SID"1",
538 TEST_DOM_SID,
563 err = sss_idmap_domain_by_name_has_algorithmic_mapping(NULL, TEST_DOM_SID,
595 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
604 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
613 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
616 TEST_2_DOM_NAME, TEST_DOM_SID, &r2,
622 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
625 TEST_DOM_NAME, TEST_DOM_SID, &r2,
631 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
634 TEST_DOM_NAME, TEST_DOM_SID, &r2,
640 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
643 TEST_DOM_NAME, TEST_DOM_SID, &r2,
649 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
659 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,
668 err = sss_idmap_check_collision_ex(TEST_DOM_NAME, TEST_DOM_SID, &r1,