MySQL integration with Active Directory...

Let me present this as a need:

We want to do the following:

Provide access to various parts of a website via the groups defined in our Active Directory -

So, I'm looking for ways to integrate that- I don't know if there's something like a PHP script that could make the calls each time someone accesses a page (to find out what group the username belongs to)
or if I'm looking to tie MySQL into Active Directory and build a dynamic table (or update a table every day to reflect user changes), or what..

Seems like many approaches would work-
1. Do this entirely in PHP on the website (which is running IIS btw)
2. Use MySQL somehow
3. I know LDAP's out there- but I'm not sure if our AD has the connectors, and I'd probably run into resistance in modifying our AD to do that-
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AFAIK there is no way to integrate AD into mysql. You can only replicate "via a script you need to write" the data and populate tables with that information. THos infomation will always be behind. I suggest using ldap in php to authenticate the users.

e.g A class that can auth against a AD (AFAIK that ldap-connector should be available by default)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.