Pradhaban
Pradhaban

Reputation: 694

LDAP integration in Symfony2

I'm new to symfony & LDAP. Is there any step by step tutorial or videos to integrate LDAP in symfony2?

Upvotes: 4

Views: 7682

Answers (3)

Robert Elwell
Robert Elwell

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

Maks3w
Maks3w

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

Florent
Florent

Reputation: 12420

I don't know any tutorial or video about LDAP in Symfony2 but here are 2 bundles I used in many projects:

Upvotes: 6

Related Questions