As a continuation of previous post, now, I will show how to make a mysql plugin for ldap authentication.
Get the mysql-server source code at http://dev.mysql.com/downloads/mysql/ (http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.27.tar.gz/from/http://cdn.mysql.com/)
Installing necessary packages
yum groupinstall 'Development Tools' yum install cmake ncurses-devel
Download source code, build and start MySQL Server
wget http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.27.tar.gz/from/http://cdn.mysql.com/ tar -xzf mysql-5.5.27.tar.gz cd mysql-5.5.25 # Preconfiguration setup groupadd mysql useradd -r -g mysql mysql # Beginning of source-build specific instructions cmake . make make install # Postinstallation setup chown -R mysql . chgrp -R mysql . ./scripts/mysql_install_db --user=mysql chown -R root . chown -R mysql data cp support-files/mysql.server …[Read more]