smb-server 0.12.0

SMB2/3 file-sharing server library with pluggable storage backends.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# smb-server

SMB file-sharing server library for Rust.

- Dialects: SMB 2.0.2, 2.1, 3.0, 3.0.2, 3.1.1 over TCP
- Auth: NTLMv2, anonymous, guest
- Signing and encryption (AES-CCM, AES-GCM)
- Leases, durable handles, change notifications
- Named streams, macOS metadata, extended attributes
- Server-side copy and block cloning
- Share listing, mDNS and WS-Discovery
- Users and shares changeable at run time
- Pluggable storage: implement `ShareBackend`, or use `LocalFsBackend` or `S3Backend`
- Encrypted storage: [`EncryptedBackend`]encrypted-storage.md wraps another backend and encrypts file contents, and by default names

Works with Windows Explorer, macOS Finder, Linux cifs mounts, and `smbclient`.

API reference: [docs.rs/smb-server](https://docs.rs/smb-server).