diff --git a/Dockerfile b/Dockerfile
index c05ce093fd83bf0e0a50a0dfbda84fc034f88a51..a389d3b0e9f57eafd62de37ac48ca08adf166be8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,7 +35,8 @@ RUN rm -rfv /etc/ldap/slapd.d/* /etc/ldap/* \
 COPY etc /etc/
 
 # Link default configuration path to customized paths
-RUN ln -s /usr/lib/slapd /usr/sbin/slapd
+RUN ln -s /usr/lib/slapd /usr/sbin/slapd \
+	&& ln -sf /etc/ldap/sasl2/slapd.conf /usr/lib/sasl2/slapd.conf
 
 # Start up file
 COPY start.sh /start.sh
diff --git a/build.sh b/build.sh
index 20f440fdd4875e6e83732a87dc24c4f63b71d915..979b6a0a31e9bee97b118a2cee4887a64d4995e3 100755
--- a/build.sh
+++ b/build.sh
@@ -45,7 +45,7 @@ function install_cyrus_sasl {
     cd ${WORKDIR}/${CYRUS_SASL_VERSION}
     sed -i'' '/maj_stat\s=\sgss_acquire_cred/{n;s/text->server_name/GSS_C_NO_NAME/}' plugins/gssapi.c
     ./configure --prefix=/usr --sysconfdir=/etc --libexecdir='${prefix}/lib' \
-        --disable-digest \
+        --enable-digest=no \
         --with-gss_impl=mit \
         CFLAGS="-Wno-cast-function-type -Wno-implicit-function-declaration"
     make