summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index f219d250c2..13db9948ad 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -496,6 +496,7 @@ static BOOL get_lanman2_dir_entry(connection_struct *conn,
STR_NOALIGN);
SCVAL(p, -1, len);
p += len;
+ *p++ = 0; /* craig from unisys pointed out we need this */
break;
case SMB_FIND_FILE_BOTH_DIRECTORY_INFO: