Changes for interoperability with dbus4win

Bug #461988 reported by tml
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NDesk D-Bus
New
Undecided
Unassigned

Bug Description

The attached file contains patches needed to make DBusSharp interoperate with dbus4win, the latest and presumably most widely used, and most usable, fork of upstream dbus for Windows. The main stuff added is:

1) a new transport, "nonce-tcp", which is like the "tcp" one except that the daemon creates a "nonce" file with a random 16 byte contents, hopefully readable only by the session owner. The name of this file is part of the session dbus address string. The nonce file contents is sent by a client when it connects to a server.

2) the daemon stores the session bus address in a (per-session) shared memory segment, normally no environment variables are used for that.

3) The EXTERNAL authentication requires a SID

Also mailed this to Alp directly, but I guess a proper bug report is always better...

Will attach the output from git format-patch --stdout , but obviously if requested (and instructed) I can provide it in some other form, too.

Revision history for this message
tml (tml) wrote :

Add a fix for unmanaged heap corruption, eek.

Revision history for this message
Mikkel Kruse Johnsen (mikkel-linet) wrote :

This patch solves a Marshal error of "ConvertSidToStringSid"

Works on Windows 7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.