Hi,

a trivial patch, but the include made me go searching through the
ldap_child code for a place where we might use some PAM-related code :-)
>From 710b2124a7e2b8d9badde753c8f0cd5dcbb8e5ba Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhro...@redhat.com>
Date: Sat, 29 Nov 2014 10:10:07 +0100
Subject: [PATCH] LDAP: Remove useless include

Using a PAM include file in an LDAP child is confusing.
---
 src/providers/ldap/ldap_child.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c
index 
f7f8d1d2eab3f66fe4f7d09e50458b495739c1d2..a1e250c46fe1052849ab66f2d3158b7c7d143c51
 100644
--- a/src/providers/ldap/ldap_child.c
+++ b/src/providers/ldap/ldap_child.c
@@ -27,8 +27,6 @@
 #include <sys/stat.h>
 #include <popt.h>
 
-#include <security/pam_modules.h>
-
 #include "util/util.h"
 #include "util/sss_krb5.h"
 #include "util/child_common.h"
-- 
1.9.3

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to