smb2 0.12.0

Pure-Rust SMB2/3 client library with pipelined I/O
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
FROM alpine:3.21
RUN apk add --no-cache samba
COPY smb.conf /etc/samba/smb.conf
RUN mkdir -p /shares/shared/documents /shares/timemachine/backups \
    && echo "Shared NAS file" > /shares/shared/readme.txt \
    && echo "Meeting notes" > /shares/shared/documents/notes.txt \
    && echo "TimeMachine backup marker" > /shares/timemachine/backups/backup_2024.txt \
    && chmod -R 777 /shares/shared /shares/timemachine
EXPOSE 445
HEALTHCHECK --interval=2s --timeout=3s --retries=10 \
    CMD nc -z localhost 445
CMD ["smbd", "--foreground", "--no-process-group", "--debug-stdout"]