Hi!

I am trying to implement an authentication in my Symfony project over
a domain controller. I found a library called 'adLDAP' and I can
authenticate on the domain controller using a php script, but I can
not integrate it into my project with sfGuardPlugin.

I set the settings.yml file:
all:
  .actions:
    login_module: sfGuardAuth
    login_action: signin
    secure_module: sfGuardAuth
    secure_action: secure
  .settings:
    enabled_modules: [default, sfGuardAuth]

the app.yml file:
all:
  sf_guard_plugin:
    check_password_callable: [myLDAP, checkLDAPPassword]

I change the myUser class to extends from sfGuardSecurityUser, and I
created the myLDAP class in the lib directory of my app with the
checkLDAPPassword method. But when I put my identification
credentials, I get an error "table or view does not exist '. It can
not found the tables because I don't create it because I don't want to
store this information in the database.

How can i make the password validation using my own method?

Thank you very much.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to