LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2005, 09:56 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
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?
 
Old 05-29-2005, 10:10 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration