Files
mDMS/infra/samba-canon/smb.conf
m 2aa532e717 chore: initial commit — spinout from m/otto
Spun out mDMS strategy + tooling from m/otto into its own repo on 2026-05-15.

Migrated:
- docs/strategy.md (was: m/otto:docs/mdms-strategy.md)
- infra/paperless/ (config + audit + migrate scripts)
- infra/samba-canon/ (Canon MB5100 SMB1 bridge container)

History in m/otto: issues #429–#438. Going forward, all mDMS issues
file here. Sibling m/paperless (separate repo) remains the bare
Docker Compose for Paperless-ngx itself.
2026-05-15 17:31:20 +02:00

50 lines
1.4 KiB
Plaintext

[global]
workgroup = WORKGROUP
server string = Canon SMB bridge
netbios name = MDOCK-CANON
security = user
map to guest = Never
log file = /var/log/samba/log.%m
log level = 1
max log size = 1000
# Old-school SMB1 + NTLMv1 — required by Canon MAXIFY MB5100 (2014, SMB1 only).
# LAN-only, no encryption — see infra/samba-canon/README.md.
server min protocol = NT1
server max protocol = SMB3
client min protocol = NT1
client max protocol = SMB3
ntlm auth = ntlmv1-permitted
lanman auth = yes
client lanman auth = yes
client plaintext auth = no
server signing = disabled
smb encrypt = disabled
server multi channel support = no
# Performance / sanity for a single-share LAN bridge
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
dns proxy = no
usershare allow guests = no
panic action = /bin/sh -c 'echo "smbd panic at $(date)" >&2'
[inbox]
comment = Canon scan inbox (writes to /mnt/mdms/inbox on TrueNAS via NFS)
path = /inbox
browseable = yes
writable = yes
read only = no
guest ok = no
valid users = canon
force user = canon
force group = canon
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
# The Canon writes single PDFs; vfs full_audit is overkill.
vfs objects =