Lines Matching refs:orig
221 struct ldb_message *orig;
228 orig = ldb_msg_new(test_ctx);
229 assert_non_null(orig);
231 tmp_str = talloc_strdup(orig, "ORIGNAME");
233 ret = ldb_msg_add_string(orig, SYSDB_NAME, tmp_str);
236 tmp_str = talloc_strdup(orig, "ORIGGECOS");
238 ret = ldb_msg_add_string(orig, SYSDB_GECOS, tmp_str);
265 ret = sysdb_add_overrides_to_object(test_ctx->domain, orig, override, NULL);
268 assert_string_equal(ldb_msg_find_attr_as_string(orig, SYSDB_NAME, NULL),
270 assert_string_equal(ldb_msg_find_attr_as_string(orig, SYSDB_GECOS, NULL),
272 assert_string_equal(ldb_msg_find_attr_as_string(orig,
276 assert_string_equal(ldb_msg_find_attr_as_string(orig,
281 el = ldb_msg_find_element(orig, OVERRIDE_PREFIX SYSDB_SSH_PUBKEY);
291 struct ldb_message *orig;
296 orig = ldb_msg_new(test_ctx);
297 assert_non_null(orig);
299 tmp_str = talloc_strdup(orig, "ORIGNAME");
301 ret = ldb_msg_add_string(orig, SYSDB_NAME, tmp_str);
304 tmp_str = talloc_strdup(orig, "ORIGGECOS");
306 ret = ldb_msg_add_string(orig, SYSDB_GECOS, tmp_str);
312 ret = sysdb_add_overrides_to_object(test_ctx->domain, orig, NULL, NULL);
319 struct ldb_message *orig;
324 orig = ldb_msg_new(test_ctx);
325 assert_non_null(orig);
327 orig->dn = ldb_dn_new(orig, test_ctx->domain->sysdb->ldb,
329 assert_non_null(orig->dn);
331 tmp_str = talloc_strdup(orig, "ORIGNAME");
333 ret = ldb_msg_add_string(orig, SYSDB_NAME, tmp_str);
336 tmp_str = talloc_strdup(orig, "ORIGGECOS");
338 ret = ldb_msg_add_string(orig, SYSDB_GECOS, tmp_str);
344 ret = sysdb_add_overrides_to_object(test_ctx->domain, orig, NULL, NULL);