DCERPC Security Context Multiplexing (ready for review)

Jeremy Allison jra at samba.org
Fri Dec 21 21:26:23 UTC 2018


On Thu, Dec 20, 2018 at 12:53:52AM +0100, Stefan Metzmacher wrote:
> Am 18.12.18 um 17:48 schrieb Jeremy Allison:
> > On Tue, Dec 18, 2018 at 02:31:32PM +0100, Stefan Metzmacher via samba-technical wrote:
> >> Hi,
> >>
> >> I'm currently working on an implementation of the
> >> SecurityContextMultiplexingSupported feature from [MS-RPCE] 3.3.1.5.4
> >> Security Context Multiplexing in the source4/rpc_server code.
> >>
> >> Basically the concept is similar to having multiple session setups
> >> on a single SMB connection, just for DCERPC.
> >>
> >> This is important in order to fix or avoid the following bugs:
> >> https://bugzilla.samba.org/show_bug.cgi?id=7113
> >> https://bugzilla.samba.org/show_bug.cgi?id=11892
> >> https://bugzilla.samba.org/show_bug.cgi?id=13464
> >>
> >> The patches are in the following branch:
> >> https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master4-dcerpc-ok
> >>
> >> The following pidl change to the python bindings:
> >> https://git.samba.org/?p=metze/samba/wip.git;a=commitdiff;h=052016f3415a
> >> results in the following diff of the generated code:
> >> https://git.samba.org/?p=metze/samba/wip.git;a=commitdiff;h=44d05e1b35a8
> >> Before we had broken code like this:
> >>
> >>   r->in.unknown = NULL;
> >>   *r->in.unknown = NULL;
> >>
> >> I opened the following merge request for the almost finished patches:
> >> https://gitlab.com/samba-team/samba/merge_requests/173
> >>
> >> I still need to check some details and improve some commit messages, but
> >> the review and already start...
> 
> I've fixed the missing settimeout in the pylibsmb bindings and fixed the
> commit messages.
> 
> This is ready for review now.
> 
> I'm not attaching the patches here as they're over 500kb in size, which
> is not allowed on the list.
> 
> They can be downloaded here:
> https://gitlab.com/samba-team/samba/merge_requests/173.patch
> 
> >> Please review and comment:-)
> 
> Please review and push:-)

Working on this, might not get done before the Christmas
break (I'll try and work on it over Christmas, family
time permitting). If you need it before then, feel free
to get another reviewer :-).

Cheers,

	Jeremy.



More information about the samba-technical mailing list