---- samba-2.0.3/source/smbwrapper/smbsh.in.config Wed Oct 7 06:43:09 1998
-+++ samba-2.0.3/source/smbwrapper/smbsh.in Tue Apr 13 18:59:20 1999
+diff -urN samba-2.2.1.org/source/configure.in samba-2.2.1/source/configure.in
+--- samba-2.2.1.org/source/configure.in Tue Jul 10 02:12:50 2001
++++ samba-2.2.1/source/configure.in Wed Jul 11 20:00:03 2001
+@@ -656,6 +656,11 @@
+ AC_DEFINE(HAVE_STRCASECMP))
+ fi
+
++# Check for yp_get_default_domain in -lnsl (linux glibc2.1)
++#
++AC_LIBTESTFUNC(nsl, yp_get_default_domain)
++#
++
+ #
+ # Check for the functions putprpwnam, set_auth_parameters,
+ # getspnam, bigcrypt and getprpwnam in -lsec and -lsecurity
+@@ -1630,7 +1635,7 @@
+ yes)
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(WITH_PAM)
+- LIBS="$LIBS -lpam"
++ LIBS="$LIBS -ldl -lpam -lpamc"
+ with_pam_for_crypt=yes
+ ;;
+ *)
+diff -urN samba-2.2.1.org/source/smbwrapper/smbsh.in samba-2.2.1/source/smbwrapper/smbsh.in
+--- samba-2.2.1.org/source/smbwrapper/smbsh.in Wed Oct 7 06:43:09 1998
++++ samba-2.2.1/source/smbwrapper/smbsh.in Wed Jul 11 20:00:35 2001
@@ -1,6 +1,6 @@
#! /bin/sh
if [ ! -f ${SMBW_LIBDIR}/smbwrapper.so ]; then
echo You need to set LIBDIR in smbsh
---- samba-2.0.3/source/Makefile.in.config Sat Feb 27 23:08:47 1999
-+++ samba-2.0.3/source/Makefile.in Tue Apr 13 19:09:43 1999
-@@ -25,7 +25,7 @@
- BINDIR = @bindir@
- # we don't use sbindir because we want full compatibility with
- # the previous releases of Samba
--SBINDIR = @bindir@
-+SBINDIR = @sbindir@
- LIBDIR = @libdir@
- VARDIR = @localstatedir@
- MANDIR = @mandir@