From: Ignacio Ocampo Date: August 21 2012 1:15am Subject: Re: MySQL LDAP Authentication Plugin - Full example with source code List-Archive: http://lists.mysql.com/mysql/228028 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3042726e6e75bb04c7bc5d80 --20cf3042726e6e75bb04c7bc5d80 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 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 > --=20 Ignacio Ocampo Mill=E1n --20cf3042726e6e75bb04c7bc5d80--