Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21592

Build broken on OpenPAM systems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.4.12
    • Fix Version/s: 10.4.13
    • Component/s: Plugin - pam
    • Labels:
      None
    • Environment:
      FreeBSD 12.1 & 11.3 both amd64 & i386

      Description

      Build logs

      Error

      https://brnrd.eu/poudriere/data/113amd64-svn/2020-01-28_11h06m19s/logs/errors/mariadb104-server-10.4.12.log
      

      Fixed by using the appropriate header for OpenPAM

      --- plugin/auth_pam/mapper/pam_user_map.c.orig  2020-01-26 20:43:53 UTC
      +++ plugin/auth_pam/mapper/pam_user_map.c
      @@ -39,7 +39,11 @@ and usually end up in /var/log/secure file.
       #include <grp.h>
       #include <pwd.h>
       
      +#ifdef __FreeBSD__
      +#include <security/pam_appl.h>
      +#elif
       #include <security/pam_ext.h>
      +#endif
       #include <security/pam_modules.h>
       
       #define FILENAME "/etc/security/user_map.conf"
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serg Sergei Golubchik
              Reporter:
              spil Bernard Spil
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: