git-as-svn / git-as-svn

Subversion frontend server for Git repositories

Home Page:https://git-as-svn.github.io/git-as-svn/htmlsingle/git-as-svn.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: PAM authentication

SirIntellegence opened this issue · comments

My Linux server currently has the capability to allow users to log in as a windows domain user (in case it matters, using https://www.beyondtrust.com/privilege-management/active-directory-bridge) and I am having troubles figuring out how to implement the LDAP integration with the domain. Would that be possible?

git-as-svn supports user authentication via LDAP, see docs.

What I mean was if it was possible to use the system user list as a repo user list. In my case, the system already support becoming a domain user. In some other cases, someone might just want to use local Linux users without using any LDAP. Does that make sense?

Oh, so what you actually want is PAM authentication? Nope, this is currently not supported. I'm not even sure there exists a good Java lib to talk to libpam. I found libpam4j though the fact that it was touched last time in 2018 is a bit worrying. JPam is even more dead.

Ah. Ok. Maybe mark it for future support. Others might want it at some point in time. I think I got LDAP to work with the simple binding.

libpam4j is a no-go because it does't support non-local users: kohsuke/libpam4j#2