Lines Matching defs:shell
408 const char *shell;
412 * the server for the login shell. */
419 shell = sss_view_ldb_msg_find_attr_as_string(domain, msg, SYSDB_SHELL,
421 if (shell == NULL) {
422 /* Check whether there is a default shell specified */
433 return shell;
438 if (strcmp(rctx->vetoed_shells[i], shell) == 0) {
440 "The shell '%s' is vetoed. Using fallback.\n",
441 shell);
449 if (strcmp(shell, rctx->etc_shells[i]) == 0) {
451 "Shell %s found in /etc/shells\n", shell);
457 DEBUG(SSSDBG_TRACE_ALL, "Using original shell '%s'\n", shell);
458 return shell;
465 "The shell '%s' is allowed but does not exist. "
466 "Using fallback\n", shell);
470 if (strcmp(rctx->allowed_shells[i], shell) == 0) {
472 "The shell '%s' is allowed but does not exist. "
473 "Using fallback\n", shell);
481 "The shell '%s' is not allowed and does not exist.\n", shell);