hirochachacha / go-smb2

SMB2/3 client library written in Go.
BSD 2-Clause "Simplified" License
350 stars 94 forks source link

feat: returns negotiated dialect #78

Open tangxinfa opened 1 year ago

tangxinfa commented 1 year ago

Expose the negotiated dialect is useful, such as mount.cifs not support auto negotiate, we can negotiate a smb protocol version with this package and select a protocol version supported by mount.cifs.