authenticating Mysql users using openLDAP

Posted on 2009-12-21
Last Modified: 2013-12-24
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.
Question by:looking_for_answers
    LVL 14

    Accepted Solution

    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: example of intercepting and rewriting authentication:

    Author Closing Comment

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now