symfony - FOSUserBundle and LDAP user before login - Symfony2 -
i have set fosuserbundle , fr3d ldap bundle allow company users login web app own login.
from now, if logins, have default role, role_user. however, want specific role allowed (in case it's role_consult, created).
what doing allow users @ moment is:
ask user login web app
they "you have no right access web page"
they tell me connected
i change user's role "role_consult" form created within admin panel.
what want is:
i select user ldap list
change user role (which not on database yet, change role)
the user logins successfully
i developed 1 , 2 points, "salt" empty on database, doesn't allow user connect must believe password isn't correct.
any idea how can make work telling symfony2 first login, automatically check entered password @ ldap configuration ?
thanks.
alright, easy.
i forgot put "dn" database. it's working.
Comments
Post a Comment