Enable PAM on releases #1133

Closed
opened 2025-11-02 03:49:37 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @r3pek on GitHub (Oct 8, 2017).

  • Gitea version (or commit ref): v1.2.0-rc3
  • Git version: 1.8.3.1
  • Operating system: CentOS 7
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Releases made available from GitHub are not compiled with the PAM module. Please enable it so it can be used. Since it's not enabled (but it still appears as and Auth provider in the Admin settings), i tried to set it up until I saw in the logs:
2017/10/09 00:44:19 [W] Failed to login 'xxxxxxx' via 'PAM': PAM not supported

Thanks!

Originally created by @r3pek on GitHub (Oct 8, 2017). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): v1.2.0-rc3 - Git version: 1.8.3.1 - Operating system: CentOS 7 - Database (use `[x]`): - [ ] PostgreSQL - [X] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X] Not relevant - Log gist: ## Description Releases made available from GitHub are not compiled with the PAM module. Please enable it so it can be used. Since it's not enabled (but it still appears as and Auth provider in the Admin settings), i tried to set it up until I saw in the logs: `2017/10/09 00:44:19 [W] Failed to login 'xxxxxxx' via 'PAM': PAM not supported` Thanks!
GiteaMirror added the reviewed/wontfix label 2025-11-02 03:49:37 -06:00
Author
Owner

@lunny commented on GitHub (Oct 9, 2017):

Since PAM needs CGO, it's not the default compiled version currently. But I agree the PAM option UI should be hidden if PAM is not supported on the binary.

@lunny commented on GitHub (Oct 9, 2017): Since PAM needs CGO, it's not the default compiled version currently. But I agree the PAM option UI should be hidden if PAM is not supported on the binary.
Author
Owner

@r3pek commented on GitHub (Oct 9, 2017):

What's CGO?

@r3pek commented on GitHub (Oct 9, 2017): What's CGO?
Author
Owner

@bkcsoft commented on GitHub (Oct 9, 2017):

CGO is a way to call C-functions from Go. https://golang.org/cmd/cgo/

@bkcsoft commented on GitHub (Oct 9, 2017): CGO is a way to call C-functions from Go. https://golang.org/cmd/cgo/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1133