diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b6fc046..a24e44a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Migrated project layout to a `src` based structure rather than including it in the project root * Allow `smbclient.copyfile` to copy files on the same server and not just the same share * Improve DFS opens by setting the DFS operation header flag when opening a file on a share marked as a DFS share +* Fix negotiate request padding when using a hostname with a length of 8 characters ## 1.9.0 - 2022-02-01 diff --git a/src/smbprotocol/connection.py b/src/smbprotocol/connection.py index 3565d4ac..ed9212a9 100644 --- a/src/smbprotocol/connection.py +++ b/src/smbprotocol/connection.py @@ -307,9 +307,7 @@ def _parse_negotiate_context_entry(self, data): data_length = struct.unpack("