summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-30 18:23:26 +0200
committerGünther Deschner <gd@samba.org>2008-04-30 18:34:29 +0200
commitfb623c942d2b9dd3b9a47ee62593fd04805411d3 (patch)
treee79cd34fcec20c362f844dbd8a5974806894dc5e /source3
parent82d7429a27b5ff5a269d1f8ffab22e2172fc3be0 (diff)
downloadsamba-fb623c942d2b9dd3b9a47ee62593fd04805411d3.tar.gz
samba-fb623c942d2b9dd3b9a47ee62593fd04805411d3.tar.bz2
samba-fb623c942d2b9dd3b9a47ee62593fd04805411d3.zip
pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Guenther (This used to be commit d8372f73b93d3f323310f5456fef204884c303bb)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in2
-rw-r--r--source3/configure.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index cbe36fcb49..3ad631589f 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1778,7 +1778,7 @@ bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OB
bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ)
@echo "Linking shared library $@"
@$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
- @SONAMEFLAG@`basename $@`
+ @PAM_WINBIND_EXTRA_LIBS@ @SONAMEFLAG@`basename $@`
bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
@echo "Building plugin $@"
diff --git a/source3/configure.in b/source3/configure.in
index 03c8cce450..a07b5b4aac 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -5729,6 +5729,7 @@ case "$host_os" in
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o \
nsswitch/winbind_nss_linux.o"
WINBIND_NSS_EXTRA_LIBS="-lsocket"
+ PAM_WINBIND_EXTRA_LIBS="-lsocket"
;;
*hpux11*)
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
@@ -5823,6 +5824,7 @@ AC_SUBST(WINBIND_NSS_LDSHFLAGS)
AC_SUBST(WINBIND_NSS_EXTRA_OBJS)
AC_SUBST(WINBIND_NSS_EXTRA_LIBS)
AC_SUBST(NSSSONAMEVERSIONSUFFIX)
+AC_SUBST(PAM_WINBIND_EXTRA_LIBS)
AC_SUBST(WINBIND_KRB5_LOCATOR)