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 <rja...@yahoo-inc.com> 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:naf...@gmail.com] > > 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