Lines Matching defs:group
88 struct sysdb_attrs *group);
261 struct sysdb_attrs *group)
272 group, "", &need_filter);
289 ret = sysdb_attrs_get_uint32_t(group, map[SDAP_AT_GROUP_GID].sys_name,
294 "The group's gid was %s\n", ret == ENOENT ? "missing" : "zero");
296 "Marking group as non-posix and setting GID=0!\n");
299 ret = sysdb_attrs_add_uint32(group,
303 "Failed to add a GID to non-posix group!\n");
308 ret = sysdb_attrs_add_bool(group, SYSDB_POSIX, false);
311 "Error: Failed to mark group as non-posix!\n");
318 return sdap_nested_group_hash_entry(group_ctx->groups, group, "groups");
500 /* group found */
599 * - is present in user or group hash table
601 * - it is a group and we have reached the maximal nesting level
602 * - it is not under user nor group search bases
659 DEBUG(SSSDBG_TRACE_ALL, "[%s] is a group\n", dn);
737 struct sysdb_attrs *group,
748 ret = sysdb_attrs_get_string(group, SYSDB_ORIG_DN, &orig_dn);
750 DEBUG(SSSDBG_CRIT_FAILURE, "A group with no originalDN!?!\n");
773 struct sysdb_attrs *group)
782 ret = sysdb_attrs_get_el_ext(group,
806 struct sysdb_attrs *group)
822 /* create main nested group context */
891 /* insert initial group into hash table */
892 ret = sdap_nested_group_hash_group(state->group_ctx, group);
894 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to insert group into hash table "
899 /* resolve group */
901 0, group);
1022 struct sysdb_attrs *group)
1045 ret = sysdb_attrs_get_string(group, SYSDB_ORIG_DN, &orig_dn);
1058 DEBUG(SSSDBG_TRACE_INTERNAL, "About to process group [%s]\n", orig_dn);
1063 group);
1065 ret = sysdb_attrs_get_el_ext(group, group_map[SDAP_AT_GROUP_MEMBER].sys_name,
1101 group,
1115 /* If there are only indirect members of the group, it's still safe to
1120 "Looking up %d/%d members of group [%s]\n",
1128 DEBUG(SSSDBG_TRACE_INTERNAL, "Dereferencing members of group [%s]\n",
1135 DEBUG(SSSDBG_TRACE_INTERNAL, "Members of group [%s] will be "
1181 DEBUG(SSSDBG_TRACE_INTERNAL, "Members of group [%s] will be "
1287 /* process each group individually */
1541 /* group not found, continue */
1545 /* the type was unknown so we had to pull the group,
1562 /* save group in hash table */
1565 /* the group is already present, skip it */
1570 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to save group in hash table "
1575 /* remember the group for later processing */
1840 /* group not found */
1879 struct sysdb_attrs *group;
1968 struct sysdb_attrs **group = NULL;
1975 ret = sdap_get_generic_recv(subreq, state, &count, &group);
1984 state->group = group[0];
1986 /* group not found */
1987 state->group = NULL;
2018 *_group = talloc_steal(mem_ctx, state->group);
2113 /* not found in users, try group */
2258 /* pull down the whole group map,
2332 * dereferencing. We expect that every member is a group and we will
2369 * the group. */
2408 /* we found a group */
2410 /* skip the group if we have reached the nesting limit */
2417 /* skip the group if it is not amongst configured search bases */
2422 /* save group in hash table */
2429 "Unable to save group in hash table "
2434 /* remember the group for later processing */
2886 "The external group is not a member of any groups\n");