Skip to content

UserSignIn: PAM not supported #865

@JKingweb

Description

@JKingweb
  • Gitea version (or commit ref): 1.0.1
  • Git version: 2.7.4
  • Operating system: Linux (Ubuntu 16.04)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
2017/02/07 20:52:13 [...routers/user/auth.go:117 SignInPost()] [E] UserSignIn: PAM not supported
2017/02/07 20:52:19 [...s/context/context.go:168 func1()] [E] UserSignIn: PAM not supported
2017/02/07 20:52:19 [...routers/repo/http.go:111 HTTP()] [E] UserSignIn error: %v: PAM not supported

Description

When I try to use PAM to sign in with a previously created user, I receive an HTTP 500 error and the above lines appear in the Gitea log (debug logging shows only sessions IDs and CSRF tokens in addition). My PAM setup works for several other services, including Gogs. Running Gitea as root has no effect, nor does starting from a fresh installation. However, a colleague of mine with a practically identical installation has no issues at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions