[PATCH 1/2] s3/smbd: Add new file information classes

Andreas Schneider asn at samba.org
Wed Jan 10 06:57:41 UTC 2018


On Tuesday, 9 January 2018 21:49:50 CET Jeremy Allison via samba-technical 
wrote:
> On Tue, Jan 09, 2018 at 12:04:15PM -0800, Justin Maggard via samba-technical
> wrote:
> 
> These (and the following patch) LGTM. Can I get a second Team
> reviewer ?

RB+
 
> Jeremy.
> 
> > Add definitions for missing file information classes documented in
> > [MS-FSCC] section 2.4.
> > 
> > Signed-off-by: Justin Maggard <jmaggard at netgear.com>
> > ---
> > 
> >  source3/include/trans2.h | 12 +++++++++++-
> >  1 file changed, 11 insertions(+), 1 deletion(-)
> > 
> > diff --git a/source3/include/trans2.h b/source3/include/trans2.h
> > index 3085344a406..ece436a048f 100644
> > --- a/source3/include/trans2.h
> > +++ b/source3/include/trans2.h
> > @@ -329,7 +329,17 @@ Byte offset   Type     name               
> > description
> > 
> >  #define SMB_FILE_NETWORK_OPEN_INFORMATION		1034
> >  #define SMB_FILE_ATTRIBUTE_TAG_INFORMATION		1035
> >  #define SMB_FILE_TRACKING_INFORMATION			1036
> > 
> > -#define SMB_FILE_MAXIMUM_INFORMATION			1037
> > +#define SMB_FILE_ID_BOTH_DIRECTORY_INFORMATION		1037
> > +#define SMB_FILE_ID_FULL_DIRECTORY_INFORMATION		1038
> > +#define SMB_FILE_VALID_DATA_LENGTH_INFORMATION		1039
> > +#define SMB_FILE_SHORT_NAME_INFORMATION			1040
> > +#define SMB_FILE_SFIO_RESERVE_INFORMATION		1044
> > +#define SMB_FILE_SFIO_VOLUME_INFORMATION		1045
> > +#define SMB_FILE_HARD_LINK_INFORMATION			1046
> > +#define SMB_FILE_NORMALIZED_NAME_INFORMATION		1048
> > +#define SMB_FILE_ID_GLOBAL_TX_DIRECTORY_INFORMATION	1050
> > +#define SMB_FILE_STANDARD_LINK_INFORMATION		1054
> > +#define SMB_FILE_MAXIMUM_INFORMATION			1055
> > 
> >  /* NT passthough levels for qfsinfo. */


-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org





More information about the samba-technical mailing list