LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   MySql (https://www.linuxquestions.org/questions/linux-networking-3/mysql-328399/)

paul_mat 05-29-2005 09:56 PM

MySql
 
hi there,

i've just started to use PAM so i'm not all that familiar with it, but i've managed to make my mail server authenticate against my windows AD domain. now the next think want is to make my MySql server to do the same (authenticate against my windows AD domain) i'm looking in the pam.d folder and there dosn't appear to be a mysql module.

so i've gone off and downloaded the mysql module and in the Readme file this is what it says.

Pam_Mysql Version 0.4.5

To try this, you need PAM to already be installed and working and have a
MySQL server up and running as well. I typically copy the pam_mysql.so to
/lib/security and make the proper changes to /etc/pam.d/ and /etc/pam.conf

firstly i've unzip it and i can't find the 'pam_mysql.so' file. there is one there called the 'pam_mysql.c' file though ... and there is no /etc/pam.conf file on on computer (i'm using RHEL 3), although there is one in the /etc/log.d/conf/services/pam.conf but now i don't know what to put in the conf file?

dose someone know foa good how-to for this? or can they explain to me what i need to do?

btmiller 05-29-2005 10:10 PM

I'm guessing you need to compile pam_mysql. There should be a file called README or INSTALL in the extracted tarball that will contain the relevant instructions. Also, most Linux distros don't use /etc/pam.conf, but instead put all the PAM configuration files in /etc/pam.d. You should take a look at some of the other files in this directory to get a sense of how you'll want to configure MySQL.


All times are GMT -5. The time now is 04:05 AM.