Skip to content

Commit

Permalink
Merge pull request #162 from scriptam/patch-1
Browse files Browse the repository at this point in the history
Updated README with supported SMB protocol version
  • Loading branch information
kishikawakatsumi authored Nov 17, 2024
2 parents 63bb581 + 8d47ffa commit 1c59adc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ dependencies: [
- macOS 10.15 or later
- iOS 13.0 or later

## Supported SMB Messages
## Supported Protocol Version

SMB 2.0 (aka `SMB2`) is supported. See [Header](Sources/SMBClient/Messages/Header.swift) for protocol support, which follows [SMB2 Packet Header open specification](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/fb188936-5050-48d3-b350-dc43059638a4).

### Supported SMB Messages

- [x] NEGOTIATE
- [x] SESSION_SETUP
Expand Down Expand Up @@ -136,6 +140,14 @@ To connect to macOS file sharing, you need to enable "Windows File Sharing" in t

<img width="600" src="https://github.com/user-attachments/assets/9d521df6-b899-4f10-ac8e-0dbbe371e5c2" alt="macOS File Sharing settings">

### Compatibility with SMB1 and AFP

This library does not support `SMB1` and will not support SMB 1.0 in the near future, this is due to SMB1 and SMB2 are not compatible, with completely different packet structures.

Relatedly, connecting to macOS servers using pre-SMB, Apple Filing Protocol ([AFP](https://en.wikipedia.org/wiki/Apple_Filing_Protocol)) is not supported.

`OS X 10.9 Mavericks` and later supports SMB as the primary file sharing protocol.

## Supporters & Sponsors

Open source projects thrive on the generosity and support of people like you. If you find this project valuable, please consider extending your support. Contributing to the project not only sustains its growth, but also helps drive innovation and improve its features.
Expand Down

0 comments on commit 1c59adc

Please sign in to comment.