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

Build broken on OpenPAM systems

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 10.4.12
    • 10.4.13
    • Plugin - pam
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.