From 4e3db2001a13433de48d75b8339c69de2af57dd7 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 19 Dec 2005 07:41:50 +0000 Subject: [PATCH] Relevant BUGIDs: Purpose of commit: bugfix Commit summary: --------------- Solaris does not have LOG_AUTHPRIV: 2005-12-19 Thorsten Kukuk * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris. Reported by Charles_H_Bedford@nbc.gov. --- ChangeLog | 3 +++ libpam/pam_syslog.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 89aa9cce..fa339183 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-12-19 Thorsten Kukuk + * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris. + Reported by Charles_H_Bedford@nbc.gov. + * modules/pam_time/pam_time.c (check_account): Implement support for netgroups. diff --git a/libpam/pam_syslog.c b/libpam/pam_syslog.c index 1dbb2f91..c5a6feca 100644 --- a/libpam/pam_syslog.c +++ b/libpam/pam_syslog.c @@ -45,6 +45,10 @@ #include "pam_private.h" +#ifndef LOG_AUTHPRIV +#define LOG_AUTHPRIV LOG_AUTH +#endif + static const char * _pam_choice2str (int choice) {