# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mysql-ldap-auth # mysql-ldap-auth/pkg-descr # mysql-ldap-auth/files # mysql-ldap-auth/files/pkg-message.in # mysql-ldap-auth/Makefile # mysql-ldap-auth/distinfo # echo c - mysql-ldap-auth mkdir -p mysql-ldap-auth > /dev/null 2>&1 echo x - mysql-ldap-auth/pkg-descr sed 's/^X//' >mysql-ldap-auth/pkg-descr << '42f2ce7ed8e81631c96208c9329baba4' XMySQL LDAP Authenticator X XAuthentication plugin for MySQL 5.5.7 and up, allows you to create XMySQL users that are then authenticated against an LDAP server. XThis reduces administrative overhead and eliminates your users Xhaving to remember a seperate username and password for MySQL. X XThe configuration file is flexible enough to support almost any LDAP Xdirectory including OpenLDAP or Active Directory. The plugin uses Xthe OpenLDAP library to interface with a directory. X XLike MySQL Enterprise's PAM module, this plugin uses the clear_text Xpassword module as the LDAP server must perform the password hashing Xand comparison. Provide a secure communication path between Xthe client and the server. X XWWW: https://github.com/ateamsystems/ateam_mysql_ldap_auth 42f2ce7ed8e81631c96208c9329baba4 echo c - mysql-ldap-auth/files mkdir -p mysql-ldap-auth/files > /dev/null 2>&1 echo x - mysql-ldap-auth/files/pkg-message.in sed 's/^X//' >mysql-ldap-auth/files/pkg-message.in << '4243e456fba802cb1bcea29d3a7d1ca8' X--------------------------------------------------------------------- XPlugin uses the clear_text password module as the LDAP server must Xperform the password hashing and comparison. For command line Xclients this is done by setting the following environment variable: X X export LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1 X XIn MySQL Workbench this is acheived by going to go to the "Advanced" tab Xand checking "Enable Cleartext Authentication Plugin" when editing a Xconnction. X X!!! IMPORTANT: X!!! ------------------------------------------------------------------------ X!!! ENSURE THE COMMUNICATIONS PATH BETWEEN THE CLIENT AND SERVER IS SECURE! X!!! ------------------------------------------------------------------------ X!!! By default MySQL does not use SSL so additional steps and network design X!!! are needed to ensure you're not exposing your credetials. X XPlease see %%DOCSDIR%%/INSTALL Xfor install notes. X--------------------------------------------------------------------- 4243e456fba802cb1bcea29d3a7d1ca8 echo x - mysql-ldap-auth/Makefile sed 's/^X//' >mysql-ldap-auth/Makefile << '17aa1df1aff721863afc8a586b63d077' X# $FreeBSD$ X XPORTNAME= mysql-ldap-auth XPORTVERSION= 1.0 XDISTVERSIONPREFIX=v XCATEGORIES= databases X XMAINTAINER= ganbold@gmail.com XCOMMENT= A-Team MySQL LDAP authentication plugin X XLICENSE= GPLv2 XLICENSE_FILE= ${WRKSRC}/COPYING X XLIB_DEPENDS= libconfig.so:devel/libconfig XRUN_DEPENDS= mysql${MYSQL_VER}-server>5.6:databases/mysql56-server X XUSE_OPENLDAP= yes XUSES= gmake mysql:server X XUSE_GITHUB= yes XGH_ACCOUNT= ateamsystems XGH_TAGNAME= f6a1a5d X XPLIST_FILES= lib/mysql/plugin/auth_ldap.so \ X "@sample etc/mysql_ldap_auth.conf.sample" \ X ${DOCSDIR}/README \ X ${DOCSDIR}/INSTALL X XSUB_FILES= pkg-message X Xdo-install: X ${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin X ${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_PROGRAM} ${WRKSRC}/src/auth_ldap.so ${STAGEDIR}${PREFIX}/lib/mysql/plugin/ X ${INSTALL_DATA} ${WRKSRC}/ateam_mysql_ldap_auth.conf ${STAGEDIR}${PREFIX}/etc/mysql_ldap_auth.conf.sample X ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ X ${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}/ X X.include 17aa1df1aff721863afc8a586b63d077 echo x - mysql-ldap-auth/distinfo sed 's/^X//' >mysql-ldap-auth/distinfo << '68e4a905040e45b8fb38b098881536ec' XSHA256 (ateamsystems-ateam_mysql_ldap_auth-1.0-f6a1a5d_GH0.tar.gz) = 3a20533fb4fed93daad0e8944ab6e8ae530ecbebefd95240b1e60f3c5ca5ec9c XSIZE (ateamsystems-ateam_mysql_ldap_auth-1.0-f6a1a5d_GH0.tar.gz) = 17971 68e4a905040e45b8fb38b098881536ec exit