Commit 874e6c6a authored by MarvAmBass's avatar MarvAmBass

added ntlm auth option

parent 8d045936
......@@ -30,6 +30,10 @@ to restrict access of volumes you can add the following to your samba volume con
* __SAMBA\_CONF\_ENABLE\_PASSWORD\_SYNC__
* default not set - if set password sync is enabled
* __SAMBA\_CONF\_ENABLE\_NTLM\_AUTH__
* default not set - if set password sync is enabled
* _use if you have troubles like NTLMv1 passwords NOT PERMITTED for user_
* __SAMBA\_VOLUME\_CONFIG\_myconfigname__
* adds a new samba volume configuration
* multiple variables/confgurations possible by adding unique configname to SAMBA_VOLUME_CONFIG_
......
......@@ -50,6 +50,18 @@ cat > /etc/smb.conf <<EOF
EOF
##
# SAMBA Configuration (enable NTLMv1 passwords/auth)
##
if [ ! -z ${SAMBA_CONF_ENABLE_NTLM_AUTH+x} ]
then
echo ">> SAMBA CONFIG: \$SAMBA_CONF_ENABLE_NTLM_AUTH is set, enabling ntlm auth"
cat >> /etc/smb.conf <<EOF
ntlm auth = yes
EOF
fi
##
# SAMBA Configuration (Password Sync)
##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment