Lines Matching refs:new_rule
651 struct sysdb_attrs *new_rule;
669 new_rule = sysdb_new_attrs(test_ctx);
670 assert_non_null(new_rule);
671 ret = sysdb_attrs_add_string(new_rule, SYSDB_SUDO_CACHE_AT_COMMAND,
676 new_rule, SYSDB_MOD_ADD);
697 talloc_zfree(new_rule);
706 struct sysdb_attrs *new_rule;
723 new_rule = sysdb_new_attrs(test_ctx);
724 assert_non_null(new_rule);
725 ret = sysdb_attrs_add_time_t(new_rule, SYSDB_CACHE_EXPIRE, 10);
729 new_rule, SYSDB_MOD_REP);
749 talloc_zfree(new_rule);
758 struct sysdb_attrs *new_rule;
776 new_rule = sysdb_new_attrs(test_ctx);
777 assert_non_null(new_rule);
778 ret = sysdb_attrs_add_string(new_rule, SYSDB_SUDO_CACHE_AT_HOST,
783 new_rule, LDB_FLAG_MOD_DELETE);
804 talloc_zfree(new_rule);