Lines Matching refs:cmds
62 hash_table_t *cmds;
72 struct ipa_sudo_dn_list *cmds;
82 struct ipa_sudo_dn_list *cmds;
252 ret = store_rulemember(mem_ctx, &rulemember->cmds,
253 conv->cmds, members[i]);
315 ret = ipa_sudo_conv_store(conv->cmds, members[i], NULL);
332 DLIST_ADD(cmdgroup->cmds, item);
385 ret = sss_hash_create(conv, 20, &conv->cmds);
525 struct sysdb_attrs **cmds,
539 ret = sysdb_attrs_get_string(cmds[i], SYSDB_ORIG_DN, &key);
546 ret = sysdb_attrs_get_string(cmds[i], SYSDB_IPA_SUDOCMD_SUDOCMD, &cmd);
553 ret = ipa_sudo_conv_store(conv->cmds, key, discard_const(cmd));
576 return hash_count(conv->cmds) == 0;
735 return build_filter(mem_ctx, conv->dom->sysdb, conv->cmds,
1023 command = ipa_sudo_conv_lookup(conv->cmds, listitem->dn);
1042 const char **cmds[2];
1052 cmds[0] = combine_cmdgroups(tmp_ctx, conv, mlist->cmdgroups);
1053 if (cmds[0] == NULL) {
1058 cmds[1] = combine_cmds(tmp_ctx, conv, mlist->cmds);
1059 if (cmds[1] == NULL) {
1065 for (j = 0; cmds[i][j] != NULL; j++) {
1067 command = cmds[i][j];
1069 command = talloc_asprintf(tmp_ctx, "%c%s", prefix, cmds[i][j]);
1194 values = combine_cmds(cmdgroup, ctx->conv, cmdgroup->cmds);