/sssd/src/tests/intg/ |
H A D | util.py | 37 indent_ref[0] = len(match.group()) 38 return match.group()[indent_ref[0]:]
|
H A D | ldap_local_override_test.py | 264 ent_list.add_group("group", 2001, 640 # Common group asserts 647 group = dict(gid=3001, mem=ent.contains_only("user1", "user2")) 649 ent.assert_group_by_name("group", group) 650 ent.assert_group_by_name("group@LDAP", group) 653 ent.assert_group_by_name("ov_group", group) 654 ent.assert_group_by_name("ov_group@LDAP", group) 677 group [all...] |
H A D | sssd_ldb.py | 31 group = 2 variable in class:TsCacheEntry 67 elif entry_type == TsCacheEntry.group:
|
H A D | ldap_ent.py | 57 def group(base_dn, cn, gidNumber, member_uids=[]): function 59 Generate an RFC2307 group add-modlist for passing to ldap.add*. 73 Generate an RFC2307bis group add-modlist for passing to ldap.add*. 130 """Add an RFC2307 group add-modlist.""" 131 self.append(group(base_dn or self.base_dn, 137 """Add an RFC2307bis group add-modlist."""
|
H A D | ent.py | 2 # Abstract passwd/group entry management 26 _GROUP_LIST_DESC = {None: ("group", _GROUP_DESC)} 62 Entries are used to store passwd and group database entries as 348 def _convert_group(group): 350 Convert a group entry returned by grp module to an entry dictionary. 353 name=group.gr_name, 354 passwd=group.gr_passwd, 355 gid=group.gr_gid, 356 mem=group.gr_mem 361 """Get a group databas [all...] |
/sssd/src/sss_client/ |
H A D | nss_compat.h | 48 const char *group; member in union:__netgrent::__anon31
|
H A D | nss_mc.h | 80 /* group db */ 82 struct group *result, 85 struct group *result, 90 gid_t group, long int *start, long int *size,
|
H A D | nss_group.c | 194 struct group *result; 274 enum nss_status _nss_sss_initgroups_dyn(const char *user, gid_t group, argument 295 ret = sss_nss_mc_initgroups_dyn(user, user_len, group, start, size, 320 ret = sss_nss_mc_initgroups_dyn(user, user_len, group, start, size, 397 enum nss_status _nss_sss_getgrnam_r(const char *name, struct group *result, 516 enum nss_status _nss_sss_getgrgid_r(gid_t gid, struct group *result, 648 static enum nss_status internal_getgrent_r(struct group *result, 720 enum nss_status _nss_sss_getgrent_r(struct group *result,
|
H A D | nss_mc_group.c | 36 struct group *result, 67 /* fill in group */ 106 struct group *result, 118 ret = sss_nss_mc_get_ctx("group", &gr_mc_ctx); 186 struct group *result, 197 ret = sss_nss_mc_get_ctx("group", &gr_mc_ctx);
|
H A D | nss_mc_initgr.c | 87 gid_t group, long int *start, long int *size, 86 sss_nss_mc_initgroups_dyn(const char *name, size_t name_len, gid_t group, long int *start, long int *size, gid_t **groups, long int limit) argument
|
/sssd/src/tests/cwrap/ |
H A D | cwrap_test_setup.sh | 15 export NSS_WRAPPER_GROUP=$CWRAP_TEST_SRCDIR/group
|
/sssd/src/responder/common/ |
H A D | negcache_files.c | 74 struct group grp = { 0 }; 75 struct group *grp_result; 89 DEBUG(SSSDBG_TRACE_FUNC, "Group %s is a local group\n", name); 98 struct group grp = { 0 }; 99 struct group *grp_result; 107 "Group with GID %"SPRIgid" is a local group\n", gid);
|
/sssd/contrib/ci/ |
H A D | rpm-spec-builddeps | 27 re.match(".*?([^/]+)$", sys.argv[0]).group(1))
|
H A D | misc.sh | 57 # Check if the current user belongs to a group. 64 group_id=`getent group "$group_name" | cut -d: -f3` || return 1
|
H A D | run | 124 # Execute mock as is, or, if the user is not in the "mock" group, under sudo, 132 declare prompt=$'Not a "mock" group member.\n'
|
/sssd/src/sss_client/libwbclient/ |
H A D | wbc_pwd_sssd.c | 46 enum nss_status (*getgrnam_r)(const char *name, struct group *result, 48 enum nss_status (*getgrgid_r)(gid_t gid, struct group *result, 51 enum nss_status (*getgrent_r)(struct group *result, 55 enum nss_status (*initgroups_dyn)(const char *user, gid_t group, 309 struct group *gr = (struct group *)ptr; 326 static wbcErr copy_grp(struct group *in, struct group **out) 328 struct group *gr; 332 gr = (struct group *)wbcAllocateMemor [all...] |
H A D | wbc_ctx_sssd.c | 206 const char *name, struct group **grp) 212 gid_t gid, struct group **grp) 242 wbcErr wbcCtxGetgrent(struct wbcContext *ctx, struct group **grp) 247 wbcErr wbcCtxGetgrlist(struct wbcContext *ctx, struct group **grp)
|
/sssd/src/tools/ |
H A D | sss_override.c | 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 129 parse_cmdline_group_add(struct sss_cmdline *cmdline, struct sss_tool_ctx *tool_ctx, struct override_group *group) argument 143 parse_cmdline_group_del(struct sss_cmdline *cmdline, struct sss_tool_ctx *tool_ctx, struct override_group *group) argument 151 parse_cmdline_group_show(struct sss_cmdline *cmdline, struct sss_tool_ctx *tool_ctx, struct override_group *group) argument 391 build_group_attrs(TALLOC_CTX *mem_ctx, struct override_group *group) argument 598 get_group_domain_msg(struct sss_tool_ctx *tool_ctx, struct override_group *group) argument 826 struct override_group group; local 1670 struct override_group group = {NULL}; local 1696 struct override_group group = {NULL}; local [all...] |
/sssd/src/providers/proxy/ |
H A D | proxy.h | 57 enum nss_status (*getgrnam_r)(const char *name, struct group *result, 59 enum nss_status (*getgrgid_r)(gid_t gid, struct group *result, 62 enum nss_status (*getgrent_r)(struct group *result, 65 enum nss_status (*initgroups_dyn)(const char *user, gid_t group,
|
H A D | proxy_id.c | 557 /* =Save-group-utilities=================================================*/ 583 struct group *grp, 629 DEBUG(SSSDBG_OP_FAILURE, "Could not add group members\n"); 655 DEBUG(SSSDBG_OP_FAILURE, "Could not add group to cache\n"); 760 handle_getgr_result(enum nss_status status, struct group *grp, 807 struct group *grp; 818 DEBUG(SSSDBG_FUNC_DATA, "Searching group by name (%s)\n", i_name); 830 grp = talloc(tmpctx, struct group); 841 memset(grp, 0, sizeof(struct group)); 873 /* Canonicalize the group nam [all...] |
/sssd/src/examples/ |
H A D | sssd-example.conf | 18 # ldap_schema can be set to "rfc2307", which stores group member names in the 19 # "memberuid" attribute, or to "rfc2307bis", which stores group member DNs in 47 ; ldap_group_object_class = group
|
/sssd/src/providers/simple/ |
H A D | simple_access_check.c | 29 #define NON_EXIST_GRP_ALLOW "The group %s does not exist. Possible typo in simple_allow_groups.\n" 30 #define NON_EXIST_GRP_DENY "The group %s does not exist. Possible typo in simple_deny_groups.\n" 33 is_posix(const struct ldb_message *group) argument 37 val = ldb_msg_find_attr_as_string(group, SYSDB_POSIX, NULL); 129 /* Now process allow and deny group rules 155 /* If any group has matched, we can skip out on the 168 /* Finally, process the deny group rules */ 191 /* If any group has matched, we can skip out on the 240 /* First check if the group was updated already. If it was (maybe its 249 "Cannot check if group wa 296 struct ldb_message *group; local 576 simple_check_process_group(struct simple_check_groups_state *state, struct ldb_message *group) argument [all...] |
/sssd/src/responder/ifp/ |
H A D | ifp_groups.c | 151 "group [%d]: %s\n", ret, sss_strerror(ret)); 221 "group [%d]: %s\n", ret, sss_strerror(ret)); 449 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to lookup group %u@%s [%d]: %s\n", 493 struct ldb_message *group; local 516 ret = ifp_groups_group_get(sbus_req, data, NULL, &domain, &group); 521 name = ldb_msg_find_attr_as_string(group, SYSDB_NAME, NULL); 554 struct ldb_message *group; local 562 &state->domain, &group); 567 el = ldb_msg_find_element(group, SYSDB_GHOST); 784 struct ldb_message *group; local 950 struct ldb_message *group; local 969 struct ldb_message *group; local [all...] |
/sssd/src/tests/ |
H A D | stress-tests.c | 77 * Look up one group. If the user is not found using getgrnam, the success 82 struct group *grp = NULL; 102 int run_one_testcase(const char *name, int group, int enoent_fail) argument 104 if (group) {
|
/sssd/src/providers/ldap/ |
H A D | sdap_async_nested_groups.c | 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 a 260 sdap_nested_group_hash_group(struct sdap_nested_group_ctx *group_ctx, struct sysdb_attrs *group) argument 736 sdap_nested_group_add_ext_members(struct sdap_nested_group_ctx *group_ctx, struct sysdb_attrs *group, struct ldb_message_element *ext_members) argument 772 sdap_nested_group_ext_members(struct sdap_options *opts, struct sysdb_attrs *group) argument 801 sdap_nested_group_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_domain *sdom, struct sdap_options *opts, struct sdap_handle *sh, struct sysdb_attrs *group) argument 1018 sdap_nested_group_process_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_nested_group_ctx *group_ctx, int nesting_level, struct sysdb_attrs *group) argument 1879 struct sysdb_attrs *group; member in struct:sdap_nested_group_lookup_group_state 1968 struct sysdb_attrs **group = NULL; local [all...] |