[SSSD] [PATCH] LDAP provider needs to link against krb libraries

2009-10-12 Thread Ralf Haferkamp
Hi,

since the LDAP provider does calls into the krb5 libs it should also be linked 
against them :). Attached patch should fix that.

-- 
regards,
Ralf
From 6169242cc432b48d86eaae03fbee52af69527860 Mon Sep 17 00:00:00 2001
From: Ralf Haferkamp rha...@suse.de
Date: Mon, 12 Oct 2009 11:50:30 +0200
Subject: [PATCH] LDAP provider needs to link against krb libraries

---
 server/Makefile.am |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/server/Makefile.am b/server/Makefile.am
index a65c9fa..6c08274 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -424,9 +424,11 @@ libsss_ldap_la_SOURCES = \
 providers/ldap/sdap.c
 libsss_ldap_la_CFLAGS = \
 $(AM_CFLAGS) \
-$(LDAP_CFLAGS)
+$(LDAP_CFLAGS) \
+$(KRB5_CFLAGS)
 libsss_ldap_la_LIBADD = \
-$(OPENLDAP_LIBS)
+$(OPENLDAP_LIBS) \
+$(KRB5_LIBS)
 libsss_ldap_la_LDFLAGS = \
 -version-info 1:0:0 \
 -module
-- 
1.6.4.2

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


Re: [SSSD] [PATCH] LDAP provider needs to link against krb libraries

2009-10-12 Thread Sumit Bose
On Mon, Oct 12, 2009 at 12:20:37PM +0200, Ralf Haferkamp wrote:
 Hi,
 
 since the LDAP provider does calls into the krb5 libs it should also be 
 linked 
 against them :). Attached patch should fix that.
 
 -- 
 regards,
   Ralf


Obviously correct.

ACK

Thanks.

bye,
Sumit
___
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel