RiperFr / Security-ActiveDirectoryBundle

This is a bundle to allow authentication into symfony >=2.1 by an Active directory
16 stars 7 forks source link

Access to LDAP after authentication #15

Closed oleksandr-kaleniuk closed 9 years ago

oleksandr-kaleniuk commented 9 years ago

Hi I use your bundle for authentication with Active Directory and it works perfectly. But now I need to implement search in LDAP for users and unfortunately I didn't find solution for this. So as I understand I have to authenticate user again before search or use previous connection. Is it possible to get access to authenticated AD connection in controller?

ztec commented 9 years ago

For now, It's not possible. Maybe a repository can be made to make available the current authenticated connection if present. Will it help ?