DCERPC Security Context Multiplexing (ready for review)

Stefan Metzmacher metze at samba.org
Wed Dec 19 23:53:52 UTC 2018

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]
>> 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:

>> Please review and comment:-)

Please review and push:-)

> Just wanted to say thanks for this ! This will fix a
> bunch of bugs with third-party servers joining SambaAD
> domains.
> I'll get reviewing asap !


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181220/aa28337f/signature.sig>

More information about the samba-technical mailing list