?
Solved

MySQL integration with Active Directory...

Posted on 2004-11-19
1
Medium Priority
?
3,349 Views
Last Modified: 2011-08-18
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-
0
Comment
Question by:acsit
1 Comment
 
LVL 48

Accepted Solution

by:
hernst42 earned 375 total points
ID: 12632698
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)
http://phpclasses.php-start.de/browse/file/3030.html
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month16 days, 7 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question