Searched refs:groupnames (Results 1 - 8 of 8) sorted by relevance

/sssd/src/db/
H A Dsysdb_sudo.h102 char **groupnames,
111 char **groupnames,
117 char **groupnames,
124 char ***groupnames);
H A Dsysdb_sudo.c221 char **groupnames,
261 if (groupnames != NULL) {
262 for (i=0; groupnames[i] != NULL; i++) {
263 ret = sss_filter_sanitize(tmp_ctx, groupnames[i], &sanitized_name);
292 char **groupnames,
299 userfilter = sysdb_sudo_filter_userinfo(mem_ctx, username, groupnames, uid);
328 char **groupnames,
334 userfilter = sysdb_sudo_filter_userinfo(mem_ctx, username, groupnames, uid);
350 char **groupnames,
356 userfilter = sysdb_sudo_filter_userinfo(mem_ctx, username, groupnames, ui
219 sysdb_sudo_filter_userinfo(TALLOC_CTX *mem_ctx, const char *username, char **groupnames, uid_t uid) argument
290 sysdb_sudo_filter_expired(TALLOC_CTX *mem_ctx, const char *username, char **groupnames, uid_t uid) argument
326 sysdb_sudo_filter_user(TALLOC_CTX *mem_ctx, const char *username, char **groupnames, uid_t uid) argument
348 sysdb_sudo_filter_netgroups(TALLOC_CTX *mem_ctx, const char *username, char **groupnames, uid_t uid) argument
371 sysdb_get_sudo_user_info(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *username, uid_t *_uid, char ***groupnames) argument
[all...]
/sssd/src/tools/
H A Dtools_mc_util.c383 char **groupnames)
389 if (!groupnames) return EOK;
391 for (i = 0; groupnames[i]; i++) {
392 ret = sss_mc_refresh_nested_group(tctx, groupnames[i]);
396 groupnames[i]);
382 sss_mc_refresh_grouplist(struct tools_ctx *tctx, char **groupnames) argument
H A Dtools_util.h112 char **groupnames);
/sssd/src/responder/ifp/
H A Difpsrv_cmd.c374 const char **groupnames; local
379 groupnames = talloc_zero_array(ireq, const char *, num);
380 if (groupnames == NULL) {
400 groupnames[i] = sss_tc_fqname(groupnames, domain->names,
407 groupnames[i] = talloc_steal(groupnames, out_name);
410 DEBUG(SSSDBG_TRACE_FUNC, "Adding group %s\n", groupnames[i]);
413 return iface_ifp_GetUserGroups_finish(ireq->dbus_req, groupnames, num);
/sssd/src/tests/cmocka/
H A Dtest_sysdb_sudo.c449 char **groupnames = NULL; local
455 users[1].name, 0, &groupnames);
457 assert_string_equal(groupnames[0], TEST_GROUP_NAME);
459 talloc_zfree(groupnames);
465 char **groupnames = NULL; local
471 users[0].name, 0, &groupnames);
473 assert_null(groupnames);
475 talloc_zfree(groupnames);
481 char **groupnames = NULL; local
486 TEST_USER_NON_EXIST, 0, &groupnames);
[all...]
H A Dtest_sysdb_views.c810 const char *groupnames[])
817 for (i = 0; groupnames[i] != NULL; i++) {
821 gr_name = sss_create_internal_fqname(test_ctx, groupnames[i],
834 const char *groupnames[])
839 for (i = 0; groupnames[i] != NULL; i++) {
840 ret = sysdb_delete_group(dom, groupnames[i], 0);
809 enum_test_add_groups(struct sysdb_test_ctx *test_ctx, const char *groupnames[]) argument
833 enum_test_del_groups(struct sss_domain_info *dom, const char *groupnames[]) argument
/sssd/src/responder/sudo/
H A Dsudosrv_get_sudorules.c198 char **groupnames,
227 filter = sysdb_sudo_filter_user(tmp_ctx, username, groupnames, uid);
270 char **groupnames,
290 filter = sysdb_sudo_filter_netgroups(NULL, username, groupnames, uid);
194 sudosrv_cached_rules_by_user(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, uid_t uid, const char *username, char **groupnames, struct sysdb_attrs ***_rules, uint32_t *_num_rules) argument
266 sudosrv_cached_rules_by_ng(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, uid_t uid, const char *username, char **groupnames, struct sysdb_attrs ***_rules, uint32_t *_num_rules) argument

Completed in 1427 milliseconds