Self-hosted trying to enable 2FA, getting " You must provide a valid current password"

We run a self-hosted Gitlab 14.3.2 instance using LDAP to login. I am trying to enable 2FA. Every time I am getting this “You must provide a valid current password”. I’m using the same password that I use to login so I’m not sure what the issue is. Does anyone have any ideas?

If anyone has any logs they can think of that I might be able to poke through that would be much appreciated as well. Thank you.

Seeing the same thing with 2fa and ldap on 14.2.5. We also have some provisioning issues with new users coming from ldap.

Could not authenticate you from Ldapmain because "Undefined method `pronunciation` for #<userdetail:0x00007fcbd8d07720> did you mean? pronouns change".

Not sure if these are related.

By chance, did you happen to initialize the LDAP users in advance using one of the suggestions in Add a way for LDAP users to be created before first login (#699) · Issues · / GitLab · GitLab? That was the root cause of this issue for us. Those accounts initialized via the API were not created with password_automatically_set? on the user record, so the web UI was prompting for a password (the generated one) that the user couldn’t provide.