updated comment based on MS-SMB2 docs
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 May 2008 11:48:26 +0000 (21:48 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 28 May 2008 11:48:26 +0000 (21:48 +1000)
(This used to be commit 5754cc13514a0f5fe4c47ce53521c256c9d96487)

source4/libcli/smb2/create.c

index bff0a1587d683fc07c80b1eeafcb25110388b583..342a5193760d007766a9de2d4e673963c68059f4 100644 (file)
@@ -387,7 +387,8 @@ NTSTATUS smb2_create_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, struct
        /* pull out the parsed blobs */
        for (i=0;i<io->out.blobs.num_blobs;i++) {
                if (strcmp(io->out.blobs.blobs[i].tag, SMB2_CREATE_TAG_MXAC) == 0) {
        /* pull out the parsed blobs */
        for (i=0;i<io->out.blobs.num_blobs;i++) {
                if (strcmp(io->out.blobs.blobs[i].tag, SMB2_CREATE_TAG_MXAC) == 0) {
-                       /* why 8 bytes not 4?? */
+                       /* TODO: this also contains a status field in
+                          first 4 bytes */
                        if (io->out.blobs.blobs[i].data.length != 8) {
                                smb2_request_destroy(req);
                                return NT_STATUS_INVALID_NETWORK_RESPONSE;
                        if (io->out.blobs.blobs[i].data.length != 8) {
                                smb2_request_destroy(req);
                                return NT_STATUS_INVALID_NETWORK_RESPONSE;