Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-samba
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
docker-samba
Commits
874e6c6a
Commit
874e6c6a
authored
Jun 19, 2017
by
MarvAmBass
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added ntlm auth option
parent
8d045936
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
README.md
README.md
+4
-0
scripts/entrypoint.sh
scripts/entrypoint.sh
+12
-0
No files found.
README.md
View file @
874e6c6a
...
...
@@ -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_
...
...
scripts/entrypoint.sh
View file @
874e6c6a
...
...
@@ -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)
##
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment