opnsense-ports/databases/mariadb103-server/files/patch-MDEV-21592
Franco Fichtner 45397d7c45 */*: sync with upstream
Taken from: HardenedBSD
2020-02-20 10:13:36 +01:00

14 lines
397 B
Text

--- 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>
+#else
#include <security/pam_ext.h>
+#endif
#include <security/pam_modules.h>
#define FILENAME "/etc/security/user_map.conf"