summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-14 18:15:00 +0200
committerGünther Deschner <gd@samba.org>2008-10-10 15:38:04 +0200
commit7817ad4ae0c462429f176ddf94bebcd44a3d6619 (patch)
tree1a6b5c21618ea743848df0087e0f6781e08bc1e1
parent3bbffb96646bda732c21c7c418e80ddc63f16de4 (diff)
downloadsamba-7817ad4ae0c462429f176ddf94bebcd44a3d6619.tar.gz
samba-7817ad4ae0c462429f176ddf94bebcd44a3d6619.tar.bz2
samba-7817ad4ae0c462429f176ddf94bebcd44a3d6619.zip
pam_winbind: prepare to use libwbclient inside pam_winbind.
Guenther
-rw-r--r--source3/Makefile.in4
-rw-r--r--source3/nsswitch/pam_winbind.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index d3cb86e5d7..8bee54d075 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2182,10 +2182,10 @@ bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OB
@$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(WINBIND_LIBS) \
@SONAMEFLAG@`basename $@`
-bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_SHARED@
+bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@
@echo "Linking shared library $@"
@$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
- $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) @SONAMEFLAG@`basename $@`
+ $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) @SONAMEFLAG@`basename $@`
bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
@echo "Building plugin $@"
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index 425471d0d6..ea7055ae19 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/nsswitch/pam_winbind.h
@@ -8,6 +8,7 @@
#include "system/syslog.h"
#include "system/time.h"
#include <talloc.h>
+#include "libwbclient/wbclient.h"
#define MODULE_NAME "pam_winbind"
#define PAM_SM_AUTH