Skip to content

Enable legacy protocol version (NT1) #77

Answered by crazy-max
yonz2 asked this question in Q&A
Discussion options

You must be logged in to vote

You can override the command in the compose file and add --option to set min protocol to NT1:

version: "3.5"

services:
  samba:
    image: crazymax/samba
    container_name: samba
    network_mode: host
    command: smbd -F --debug-stdout --no-process-group --option='client min protocol=NT1' --option='server min protocol=NT1' --option='client ipc min protocol=NT1'
    volumes:
      - "./data:/data"
      - "./public:/samba/public"
      - "./share:/samba/share"
      - "./foo:/samba/foo"
      - "./foo-baz:/samba/foo-baz"
    environment:
      - "TZ=Europe/Paris"
      - "SAMBA_LOG_LEVEL=0"
    restart: always

More info:

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by crazy-max
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #55 on August 13, 2023 15:06.