Patch to handle sid compression for consideration ...

Hemanth Thummala hemanth.thummala at gmail.com
Tue Jun 17 08:13:50 MDT 2014


I have tested these changes from my side. I have verified the
netsamlogon_cache getting updated with all domain local group membership
information. Also verified the access to a specific folder(by giving only
domain local group permissions).

Also wanted to check whether we can expect an official 3.6 patch with this
fix once the changes are finalized for master.

Thanks,
Hemanth.






On Tue, Jun 17, 2014 at 1:41 PM, Volker Lendecke <Volker.Lendecke at sernet.de>
wrote:

> On Mon, Jun 16, 2014 at 11:37:48PM -0700, Jeremy Allison wrote:
> > Ok, couldn't get to sleep :-). Here is the patchset.
> > Ended up being 5 patches.
>
> Looks good to me, haven't tested it though yet.
>
> > >From f3b61999b2886cff5077a318cfe19c95c52a9990 Mon Sep 17 00:00:00 2001
> > From: Jeremy Allison <jra at samba.org>
> > Date: Mon, 16 Jun 2014 23:11:58 -0700
> > Subject: [PATCH 3/5] s3: auth: Add merge_resource_sids() to merge
> resource
> >  group SIDs into an info3.
> >
> > Originally written by Richard Sharpe Richard Sharpe <
> realrichardsharpe at gmail.com>.
> >
> > Signed-off-by: Jeremy Allison <jra at samba.org>
> > ---
> >  source3/auth/proto.h       |  2 ++
> >  source3/auth/server_info.c | 52
> ++++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 54 insertions(+)
> >
> > diff --git a/source3/auth/proto.h b/source3/auth/proto.h
> > index ab8fb89..b302b0e 100644
> > --- a/source3/auth/proto.h
> > +++ b/source3/auth/proto.h
> > @@ -294,6 +294,8 @@ NTSTATUS serverinfo_to_SamInfo3(const struct
> auth_serversupplied_info *server_in
> >                               struct netr_SamInfo3 *sam3);
> >  NTSTATUS serverinfo_to_SamInfo6(struct auth_serversupplied_info
> *server_info,
> >                               struct netr_SamInfo6 *sam6);
> > +NTSTATUS merge_resource_sids(struct PAC_LOGON_INFO *logon_info,
> > +                             struct netr_SamInfo3 *info3);
>
> Would a "const" on logon_info do here as well? This patchset
> already contains some const fixes :-)
>
> Volker
>
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
> http://www.sernet.de, mailto:kontakt at sernet.de
>


More information about the samba-technical mailing list