Reputation: 694
I'm new to symfony & LDAP. Is there any step by step tutorial or videos to integrate LDAP in symfony2?
Upvotes: 4
Views: 7682
Reputation: 6668
Newer versions of Symfony2 should have LDAP support already in there. If you are constrained to an older version, consider using DapsBundle, since its functionality is patterned after Symfony2's upgrade path, meaning it should be easier for you when you do upgrade your Symfony2 version.. You can learn more about on my blog at http://robertelwell.info/blog/daps-ldap-symfony2/.
Upvotes: 1
Reputation: 6429
FOSUserBundle is a bundle for authenticate users against a DB, if you don't want manager your users with the DB then you must do a little customizations for break the dependency in FR3DLdapBundle.
Writing your own UserManager and setting it in the configuration should be enough.
The UserManager is used for create the User instance the first time.
Upvotes: 0
Reputation: 12420
I don't know any tutorial or video about LDAP in Symfony2 but here are 2 bundles I used in many projects:
OpenSkyLdapBundle
(requires ZF2 LDAP component)FR3DLdapBundle
(integration with FOSUserBundle
)Upvotes: 6