Feature request: Authentication via PAM
Closed
Feature request: Authentication via PAM
Created by: t0kieu
Hi guys, we have shell server for over 3000 users (students) and we would like to provide new service via GITLAB. Users are authenticated via PAM (on linux server) and we would like to authenticate them to the GITLAB via PAM too.
Thank you :)
Created by: riyad
There are currently no plans to support this, but with two pieces of information you should be able to try it yourself relatively easy:
- https://github.com/gitlabhq/gitlabhq/wiki/Using-Custom-Omniauth-Providers
- https://github.com/nickcharlton/omniauth-pam
Please submit a pull request or at least document your findings in the Wiki. Others will thank you. ;)
By Administrator on 2012-11-30T20:46:58 (imported from GitLab project)
Created by: raphendyr
I have been working version of this on [link removed] . I need to test it a bit and refactor the code. I have combined parts of ldap authentication code with pam as they tend to do same thing. Also I might have broken some ldap code (need to test).
I have created pull request to omniauth-pam upstream for features that are required to make it work with gitlab.
Reason to implement this is to support stacked authentication in our environment (We look user from ldap and some users passwords are validated over kerberos). Simplest way to any login to support that is through pam.
By Administrator on 2013-03-15T17:56:00 (imported from GitLab project)
Created by: raphendyr
My version is technically working, but is missing tests and some code cleanup. Also few changes to gitlab is required before there is any point to create pull request.
I require #2589 or similar (like [link removed]), and some generalization like [link removed]
After those changes adding pam is not a big change.
By Administrator on 2013-03-15T17:56:48 (imported from GitLab project)