List:General Discussion« Previous MessageNext Message »
From:Ignacio Ocampo Date:August 21 2012 1:15am
Subject:Re: MySQL LDAP Authentication Plugin - Full example with source code
View as plain text  
Hi Rick,

The plugin does not need to access to /etc/passwd or /etc/shadow.

It uses an LDAP Server to authenticate the user through
"ldap_simple_bind_s" function.

Best regards.

On Mon, Aug 20, 2012 at 7:24 PM, Rick James <rjames@stripped> wrote:

> Does that depend on mysql running as "root" in order to see /etc/shadow
> (or whatever)?
>
> If so, that is too big a security hole to do.
>
> > -----Original Message-----
> > From: Ignacio Ocampo [mailto:nafiux@stripped]
> > Sent: Sunday, August 12, 2012 3:54 PM
> > To: mysql
> > Subject: MySQL LDAP Authentication Plugin - Full example with source
> > code
> >
> > I have published in my blog, an full example (with source code) of a
> > LDAP Authentication plugin for MySQL.
> >
> > http://nafiux.com/blog/2012/08/11/mysql-ldap-authentication-plugin/
> >
> > --
> > Ignacio Ocampo
>



-- 
Ignacio Ocampo Millán

Thread
MySQL LDAP Authentication Plugin - Full example with source codeIgnacio Ocampo12 Aug
  • RE: MySQL LDAP Authentication Plugin - Full example with source codeRick James21 Aug
    • Re: MySQL LDAP Authentication Plugin - Full example with source codeIgnacio Ocampo21 Aug