From 7f50e21a7e8fa24b3433e3020612d96dbda1f9e0 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 17 Mar 2002 12:16:11 +0000 Subject: [PATCH] quota update partial NTGetUserQuota support svn path=/trunk/; revision=4964 --- packet-smb.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/packet-smb.c b/packet-smb.c index 2d2c8a3832..136774110e 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -3,7 +3,7 @@ * Copyright 1999, Richard Sharpe * 2001 Rewrite by Ronnie Sahlberg and Guy Harris * - * $Id: packet-smb.c,v 1.226 2002/03/17 11:59:36 sahlberg Exp $ + * $Id: packet-smb.c,v 1.227 2002/03/17 12:16:11 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -7030,7 +7030,16 @@ dissect_nt_trans_data_request(tvbuff_t *tvb, packet_info *pinfo, int offset, pro case NT_TRANS_QSD: break; case NT_TRANS_GET_USER_QUOTA: - /* not decoded yet */ + /* unknown 4 bytes */ + proto_tree_add_item(tree, hf_smb_unknown, tvb, + offset, 4, TRUE); + offset += 4; + + /* length of SID */ + proto_tree_add_text(tree, tvb, offset, 4, "Length of SID: %d", tvb_get_letohl(tvb, offset)); + offset +=4; + + offset = dissect_nt_sid(tvb, pinfo, offset, tree, "Quota"); break; case NT_TRANS_SET_USER_QUOTA: offset = dissect_nt_user_quota(tvb, pinfo, tree, offset, &bcp);