summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-17 22:00:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:57 -0500
commit5f868bc1acc9bdaed32ae70fb9906334663ccfff (patch)
tree9424d3bf161978f501e41006811c6dad4b83db28 /source4/smb_server
parent5efd740d4d4597208f835c6ed787c180056d7264 (diff)
downloadsamba-5f868bc1acc9bdaed32ae70fb9906334663ccfff.tar.gz
samba-5f868bc1acc9bdaed32ae70fb9906334663ccfff.tar.bz2
samba-5f868bc1acc9bdaed32ae70fb9906334663ccfff.zip
r3826: - added testing of ea lists in NTTRANS CREATE
- fixed push/pull of chained ea lists - fixed a bug in the nttrans wire encoding (This used to be commit fcd09224076508f9c10095bf2e2c394232a4d297)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/nttrans.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source4/smb_server/nttrans.c b/source4/smb_server/nttrans.c
index 49c41181a8..3b06dc0240 100644
--- a/source4/smb_server/nttrans.c
+++ b/source4/smb_server/nttrans.c
@@ -131,12 +131,9 @@ static NTSTATUS nttrans_create(struct smbsrv_request *req,
return NT_STATUS_NO_MEMORY;
}
- /* w2k gets the length of the list wrong on the wire - auto-fix */
- SIVAL(blob.data, 0, ea_length);
-
- status = ea_pull_list(&blob, io,
- &io->ntcreatex.in.ea_list->num_eas,
- &io->ntcreatex.in.ea_list->eas);
+ status = ea_pull_list_chained(&blob, io,
+ &io->ntcreatex.in.ea_list->num_eas,
+ &io->ntcreatex.in.ea_list->eas);
if (!NT_STATUS_IS_OK(status)) {
return status;
}