You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
I seem to have a lack of understanding the principle here: we'd like to use the setup of FOSUserBundle combined with FR3DLdapBundle. I did read about it, followed the documentation, I am also able to login via LDAP and a new user entity is getting persisted in my database.
But what about the user's password? After successfully authenticating against LDAP, somewhere deep in Symfony's core there is the DaoAuthenticationProvider, telling me that 'The presented password is invalid.', correct, since the user object's password is not set. I suppose this is some kind of correct. Maybe I should never get to this provider? I can imagine to create a custom hydrator and make it set the password to the new user object. But I guess that is not the way it should work.
I was expecting that either the password never gets stored in my database and will always be authenticated against LDAP/Active Directory. Or it will get stored redundantly, always synced from LDAP/Active Directory.
I didn't find, yet, an explanation how this is meant to work. I appreciate your help and/or questions, maybe it is just some wrong assumption...
The text was updated successfully, but these errors were encountered:
So why would Symfony want to compare passwords again, after LDAP successfully authenticated. I have the feeling I shouldn't get into DaoAuthenticationProvider.
Hi,
I seem to have a lack of understanding the principle here: we'd like to use the setup of FOSUserBundle combined with FR3DLdapBundle. I did read about it, followed the documentation, I am also able to login via LDAP and a new user entity is getting persisted in my database.
But what about the user's password? After successfully authenticating against LDAP, somewhere deep in Symfony's core there is the DaoAuthenticationProvider, telling me that 'The presented password is invalid.', correct, since the user object's password is not set. I suppose this is some kind of correct. Maybe I should never get to this provider? I can imagine to create a custom hydrator and make it set the password to the new user object. But I guess that is not the way it should work.
I was expecting that either the password never gets stored in my database and will always be authenticated against LDAP/Active Directory. Or it will get stored redundantly, always synced from LDAP/Active Directory.
I didn't find, yet, an explanation how this is meant to work. I appreciate your help and/or questions, maybe it is just some wrong assumption...
The text was updated successfully, but these errors were encountered: