Lines Matching defs:username
49 simple_check_users(struct simple_ctx *ctx, const char *username,
59 "Checking against allow list username [%s].\n",
71 if (sss_string_equal(domain->case_sensitive, username,
75 username);
79 * are denied. But there's no need to check username
99 "Checking against deny list username [%s].\n",
111 if (sss_string_equal(domain->case_sensitive, username,
425 const char *username)
447 DEBUG(SSSDBG_TRACE_LIBS, "Looking up groups for user %s\n", username);
449 /* get domain from username */
450 state->domain = find_domain_by_object_name(ctx->domain, username);
452 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid user %s!\n", username);
457 ret = sysdb_search_user_by_name(state, state->domain, username, attrs,
460 DEBUG(SSSDBG_MINOR_FAILURE, "No such user %s\n", username);
465 "Could not look up username [%s]: [%d][%s]\n",
466 username, ret, sss_strerror(ret));
479 username, group_count);
506 DEBUG(SSSDBG_MINOR_FAILURE, "User %s has no gid?\n", username);
710 const char *username;
720 const char *username)
733 state->username = talloc_strdup(state, username);
734 if (!state->username) {
739 DEBUG(SSSDBG_FUNC_DATA, "Simple access check for %s\n", username);
741 ret = simple_check_users(ctx, username, &state->access_granted);
763 subreq = simple_check_get_groups_send(state, ev, ctx, username);
802 "Could not collect groups of user %s\n", state->username);
814 "Could not collect groups of user %s\n", state->username);