Skip to content

Commit

Permalink
Compiling VFS for Samba 4.7 requires --without-pam on configure command
Browse files Browse the repository at this point in the history
  • Loading branch information
gboudreau committed Sep 26, 2017
1 parent 1890328 commit 3ac0c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_vfs.sh
Expand Up @@ -18,7 +18,7 @@ cd "$HOME"
for version in 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.4 4.0.14 3.6.9 3.5.4 3.4.9; do
echo "Working on samba-${version} ... "
if [ ! -d samba-${version} ]; then
wget http://samba.org/samba/ftp/stable/samba-${version}.tar.gz && tar zxf samba-${version}.tar.gz && rm -f samba-${version}.tar.gz
curl -LO http://samba.org/samba/ftp/stable/samba-${version}.tar.gz && tar zxf samba-${version}.tar.gz && rm -f samba-${version}.tar.gz
fi

M=`echo ${version} | awk -F'.' '{print $1}'` # major
Expand Down Expand Up @@ -52,7 +52,7 @@ for version in 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.4 4.0.14 3.6.9 3.5.4 3.4.
patch -p1 < ${GREYHOLE_INSTALL_DIR}/samba-module/Makefile-samba-${M}.${m}.patch
else
patch -p1 < ${GREYHOLE_INSTALL_DIR}/samba-module/wscript-samba-${M}.${m}.patch
./configure --enable-debug --enable-selftest --disable-symbol-versions --without-acl-support --without-ldap --without-ads
./configure --enable-debug --enable-selftest --disable-symbol-versions --without-acl-support --without-ldap --without-ads --without-pam
fi
fi

Expand Down

0 comments on commit 3ac0c32

Please sign in to comment.