[SSSD] [PATCH] CLIENT: Remove unused macros
Lukas Slebodnik
lslebodn at redhat.com
Tue Jan 21 10:30:47 UTC 2014
ehlo,
I found few unused macros: PAM_SM_AUTH, PAM_SM_ACCOUNT, PAM_SM_SESSION,
PAM_SM_PASSWORD.
In my opinion, they were proposed for the same purpose as values from
enum sss_cli_command (SSS_PAM_AUTHENTICATE, SSS_PAM_ACCT_MGMT,
SSS_APM_*).
LS
-------------- next part --------------
>From 16947952c9fc6d13a57e9febfedd5e46b3b81ca9 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Tue, 21 Jan 2014 11:19:53 +0100
Subject: [PATCH] CLIENT: Remove unused macros
PAM_SM_AUTH, PAM_SM_ACCOUNT, PAM_SM_SESSION, PAM_SM_PASSWORD
I cannot find in git history where these macro were used.
---
src/sss_client/pam_sss.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index 35cd53ccee976d79782a157003e89dc4763bfda8..638e211eea01d1f851201c34d95f57189645ea50 100644
--- a/src/sss_client/pam_sss.c
+++ b/src/sss_client/pam_sss.c
@@ -19,11 +19,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define PAM_SM_AUTH
-#define PAM_SM_ACCOUNT
-#define PAM_SM_SESSION
-#define PAM_SM_PASSWORD
-
#include "config.h"
#include <sys/types.h>
#include <unistd.h>
--
1.8.4.2
More information about the sssd-devel
mailing list