Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProFTPD mod_auth_pam broken while using new glibc (starting from 4.33) #1759

Open
vincdrouin opened this issue Dec 19, 2023 · 1 comment
Open

Comments

@vincdrouin
Copy link

What I Did

  1. Tried authentication with local user
  2. Tried authentication using LDAP/AD through nslcd and PAM

What I Expected/Wanted

What I expected : a behaviour identical to proftpd using glibc <= 4.32

  1. successful SFTP authentication with local user
  2. successful SFTP authentication using AD user

With glibc 4.32, when proftpd fails to find local user, it lets PAM/nslcd try connection.
With glibc 4.33, when proftpd fails to find local user, the authentication is aborted without askin PAM/nslcd.

If I build mod_radius and configure proftpd to ask a fake RADIUS server, after trying and failing RADIUS, proftpd asks PAM/nslcd to do the authentication.

So there is clearly an issue with how proftpd behaves using new glibc releases.

@vincdrouin vincdrouin changed the title ProFTPD mod_auth_pam broken new glibc (starting from 4.33) ProFTPD mod_auth_pam broken while using new glibc (starting from 4.33) Dec 19, 2023
@Castaglia
Copy link
Member

I'm not aware of anything in how ProFTPD uses the PAM API that would result in the behavior you're seeing.

How might I reproduce this locally? That is, how/where might I find a Docker image that contains/uses this glibc 4.33 version, for testing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants