The plugin does not need to access to /etc/passwd or /etc/shadow.
It uses an LDAP Server to authenticate the user through
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