Lines Matching defs:root
305 struct group_info *root,
324 struct group_info *root;
340 /* First, search for the root group */
350 msg, domain, NULL, &root,
360 root->group_members = talloc_array(root,
363 if (!root->group_members) {
368 root->group_members[i] = talloc_zero(root, struct group_info);
369 if (!root->group_members[i]) {
373 root->group_members[i]->name = talloc_strdup(root,
375 if (!root->group_members[i]->name) {
380 root->group_members[nmembers] = NULL;
383 if (root->memberofs == NULL) {
389 ret = group_show_trim_memberof(mem_ctx, domain, root->name,
390 root->memberofs, &root->memberofs);
399 ret = group_show_recurse(root, sysdb, domain, root, root,
401 &root->group_members);
411 *res = root;
488 struct group_info *root,
502 groups = talloc_zero_array(root,
524 ret = process_group(root, sysdb_ctx_get_ldb(sysdb),
536 root, groups[i],
661 struct group_info *root = NULL;
732 tctx->local, pc_recursive, tctx->octx->name, &root);
735 ret = group_show_mpg(tctx, tctx->local, tctx->octx->name, &root);
757 print_group_info(root, 0);
760 print_recursive(root->group_members, 0);
762 if (root->group_members) {
763 for (i=0; root->group_members[i]; ++i) {
765 root->group_members[i]->name);