Lines Matching refs:username
49 simple_check_users(struct simple_ctx *ctx, const char *username,
68 if (sss_string_equal(domain->case_sensitive, username,
72 username);
76 * are denied. But there's no need to check username
105 if (sss_string_equal(domain->case_sensitive, username,
414 const char *username)
436 DEBUG(SSSDBG_TRACE_LIBS, "Looking up groups for user %s\n", username);
438 /* get domain from username */
439 state->domain = find_domain_by_object_name(ctx->domain, username);
441 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid user %s!\n", username);
446 ret = sysdb_search_user_by_name(state, state->domain, username, attrs,
449 DEBUG(SSSDBG_MINOR_FAILURE, "No such user %s\n", username);
454 "Could not look up username [%s]: [%d][%s]\n",
455 username, ret, sss_strerror(ret));
468 username, group_count);
495 DEBUG(SSSDBG_MINOR_FAILURE, "User %s has no gid?\n", username);
699 const char *username;
709 const char *username)
722 state->username = talloc_strdup(state, username);
723 if (!state->username) {
728 DEBUG(SSSDBG_FUNC_DATA, "Simple access check for %s\n", username);
730 ret = simple_check_users(ctx, username, &state->access_granted);
752 subreq = simple_check_get_groups_send(state, ev, ctx, username);
791 "Could not collect groups of user %s\n", state->username);
803 "Could not collect groups of user %s\n", state->username);