• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1401
  • Last Modified:

authenticating Mysql users using openLDAP

Is there a way to authenticated Mysql users using openLDAP? And I don't mean using libpam-mysql
libnss-mysql which work internally? I mean for the Mysql to make an authentication call to an outside server running LDAP on port 389 using SASL or TLS.
0
looking_for_answers
Asked:
looking_for_answers
1 Solution
 
profyaCommented:
There is no direct way for this as I found.
"this is possible with mysql proxy. there's a few things you need to know to make this work:

mysql proxy can execute shell commands mysql proxy can intercept and rewrite authentication

these two pages will help you get started:

example of running a shell command: http://forge.mysql.com/tools/tool.php?id=79 example of intercepting and rewriting authentication: http://jan.kneschke.de/2009/6/25/mysql-proxy-roles
"
Source: http://stackoverflow.com/questions/1329963/using-ldap-ad-for-mysql-authenication
0
 
looking_for_answersAuthor Commented:
I am still in the middle of implementing the solutions to see if they work. I have to set up complete MySQL environment for testing....this is difficult because our setup is complicated
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now