Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-09-2005, 07:47 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
authenicate MySQL with Active Direcotry

can some please give me a solution for this

I have 2 servers one is red hat linux srever which has Mysql database and the other one is win2k srever which has Active Directory.

now I want the information inside the MySQL to authenticate the data inside the Active Directory and save it inside MySQL without changing anything inside the Active Directory because the MySQL DB is only for a specifice task and the Active Direcotry has the whole data of the company.

I hope someone got the idea and please share with me your knowledge

thank you very much



Last edited by ken80; 03-09-2005 at 07:51 AM.
Old 03-09-2005, 12:42 PM   #2
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Rep: Reputation: 16

Does MySQL support PAM authentication? If so you can use the pam module from Samba's winbind - I highly recommend experimenting with this in a test environment first, though, it will take a little time and frustration if you haven't used it before. Supposedly you can also authenticate off of AD directly with Kerberos/LDAP, but I haven't had the time to do it myself.

Hope that helps,
Old 03-12-2005, 12:26 AM   #3
LQ Newbie
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
thank u slacky for your reply....

I think it supports because my supervisor said we are going use samba. but I need more details about the subject and how to make the configration.

hope someone help

thank you very much for your time

ken adams
Old 03-12-2005, 06:53 AM   #4
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
I have my linux boxes configured to authenticate against AD (no local user accounts). I followed the instructions here. But I must admit, I had to do some tweeking to get this AD integration to work properly. Especially the kerberos->PAM part.
Old 03-12-2005, 11:04 PM   #5
LQ Newbie
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks man I will go and try it out.

I have question:

can I do this process without using samba and just use LDAP?

because LDAP is much faster than samba, and How can I configure it?

thank you very much for your time gentlmen


ken adams


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
apache 2, rootdirectory must be a direcotry...? jollyjoice Linux - Networking 2 05-21-2005 08:40 AM
apache default public html direcotry true_atlantis Linux - Software 1 10-23-2004 07:46 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM
copy direcotry but ignore some files gsbarry Linux - General 3 02-22-2003 06:15 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration