Lines Matching refs:group

131                                        struct override_group *group)
134 {"name", 'n', POPT_ARG_STRING, &group->name, 0, _("Override name"), NULL },
135 {"gid", 'g', POPT_ARG_INT, &group->gid, 0, _("Override gid"), NULL },
139 return parse_cmdline(cmdline, tool_ctx, options, &group->input_name,
140 &group->orig_name, &group->domain);
145 struct override_group *group)
147 return parse_cmdline(cmdline, tool_ctx, NULL, &group->input_name,
148 &group->orig_name, &group->domain);
153 struct override_group *group)
155 return parse_cmdline(cmdline, tool_ctx, NULL, &group->input_name,
156 &group->orig_name, &group->domain);
392 struct override_group *group)
394 return build_attrs(mem_ctx, group->domain, group->name, 0, group->gid,
521 DEBUG(SSSDBG_TRACE_FUNC, "Trying to find group %s@%s\n",
524 strtype = "group";
599 struct override_group *group)
604 newdom = get_object_domain(SYSDB_MEMBER_GROUP, group->orig_name,
605 group->domain, tool_ctx->domains);
607 domname = group->domain == NULL ? "[unknown]" : group->domain->name;
608 fprintf(stderr, _("Unable to find group %s@%s.\n"),
609 group->orig_name, domname);
613 group->sysdb_name = sss_create_internal_fqname(tool_ctx, group->orig_name,
615 if (group->sysdb_name == NULL) {
619 group->domain = newdom;
826 struct override_group group;
836 group = *input_group;
839 ret = override_fqn(tmp_ctx, tool_ctx, group.domain, group.name,
840 &group.name);
845 ret = prepare_view_msg(group.domain);
850 attrs = build_group_attrs(tool_ctx, &group);
857 ret = override_object_add(group.domain, SYSDB_MEMBER_GROUP, attrs,
858 group.sysdb_name);
1670 struct override_group group = {NULL};
1673 ret = parse_cmdline_group_add(cmdline, tool_ctx, &group);
1679 ret = get_group_domain_msg(tool_ctx, &group);
1684 ret = override_group(tool_ctx, &group);
1696 struct override_group group = {NULL};
1699 ret = parse_cmdline_group_del(cmdline, tool_ctx, &group);
1705 ret = get_group_domain_msg(tool_ctx, &group);
1710 ret = override_object_del(group.domain, SYSDB_MEMBER_GROUP,
1711 group.sysdb_name);
1926 SSS_TOOL_COMMAND_NOMSG("group-add", 0, override_group_add),
1927 SSS_TOOL_COMMAND_NOMSG("group-del", 0, override_group_del),
1928 SSS_TOOL_COMMAND_NOMSG("group-find", 0, override_group_find),
1929 SSS_TOOL_COMMAND_NOMSG("group-show", 0, override_group_show),
1930 SSS_TOOL_COMMAND_NOMSG("group-import", 0, override_group_import),
1931 SSS_TOOL_COMMAND_NOMSG("group-export", 0, override_group_export),