forked from Lainports/opnsense-ports
14 lines
397 B
Text
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"
|