[Documentation] Document PAM plugin build options

Bug #1023501 reported by Raghavendra D Prabhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Hrvoje Matijakovic
5.5
Fix Released
Medium
Hrvoje Matijakovic

Bug Description

Recently a customer needed to disable PAM plugin build since their build env (Solaris) didn't support it. I had to dig around in the code to get the build options.

  -DWITH_AUTH_PAM=OFF -DWITH_AUTH_PAM_COMPAT=OFF -DWITH_DIALOG=OFF

Since we have customers building on non-Linux platforms (FreeBSD, Solaris etc.) it would be good to document this -- (here http://www.percona.com/doc/percona-server/5.5/installation.html or http://www.percona.com/doc/percona-pam-for-mysql/installation.html)

Tags: i24885

Related branches

tags: added: i24885
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

It may be better to not build those by default so the whole build doesn't fail on other platforms or on other 'esoteric' linux platforms.

Changed in percona-server:
status: New → Confirmed
Changed in percona-server:
assignee: nobody → Hrvoje Radonić (hrvoje)
assignee: Hrvoje Radonić (hrvoje) → Hrvoje Matijakovic (hrvojem)
Revision history for this message
Benedikt (yuslh8) wrote :

This affects FreeBSD Users as well.

I am trying to update the FreeBSD port but it fails compiling the PAM module. The compile options provided above don't work though.

I would appreciate your help.

Revision history for this message
Benedikt (yuslh8) wrote :

The Percona support helped me out:

On FreeBSD you have to set -DHAVE_PAM=0

Then it works.

Thanks a lot!!

Changed in percona-server:
importance: Undecided → Medium
Changed in percona-server:
status: Confirmed → Triaged
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1261

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.