kohsuke / libpam4j

libpam4j
http://libpam4j.kohsuke.org/
MIT License
44 stars 47 forks source link

Authentication fails for users not available via libc #2

Open busbey opened 11 years ago

busbey commented 11 years ago

Right now users authenticated via PAM are conflated with users local to the box.

Steps to reproduce:

1) set up a PAM service that authenticates external to the system, ie pam_ldap (but do not make this login)

2) do not set up a local user with the same name

3) use libpam4j to authenticate

Ideally, the libc based information should be optional additional info.

eskatos commented 9 years ago

:+1: This prevent implementing Radius authentication through PAM

eskatos commented 9 years ago

@busbey looks like you started working on this on your fork, could you tell us about it?

busbey commented 9 years ago

I think I got this working on my fork. I'll see if it's in condition for a PR

eskatos commented 9 years ago

\o/

busbey commented 9 years ago

there's a pull request on current master. FYI, it's a breaking change because of the API alteration.