DBus Over multiple machines

Willem Dantuma willem.dantuma@dobs.nl
20 Dec 2003 10:35:43 +0100


On Fri, 2003-12-19 at 19:32, Jason Keirstead wrote:
> > > Ok, I get how to set the username and password functions for the 
> connecting 
> > > client.
> > > 
> > > I do not, however, see how I set what usernames and passwords are 
> authorized 
> > > on the server end.  Do you have to call something after 
> dbus_bus_register ?
> > 
> > You don't call dbus_bus_register on the server end
> > 
> > 
> > Do you connect to a d-bus bus ( daemon ) or did you write your own
> > server ?
> 
> Er sorry I was confused :P
> 
> I am connecting to the normal dbus-daemon-1, forget what I was saying :P
> 
> > Authorization in the bus is done by setting a policy in the
> > configuration file ( see the system.conf )
> 
> Yes I guess this is the part I was wondering. What do I need to put in my 
> <auth> section of the system.conf for it to use SASL PLAIN? Right now, all I 
> have is <auth>EXTERNAL</auth>.Do I put <auth>SASL_PLAIN</auth> or
> somesuch?

Just the method name as reported by SASL i.e <auth>PLAIN</auth>

But like i said before i just tested the PLAIN method so far. 

One other thing the dbus client tools dbus-send and dbus-monitor don't
yet support this kind of authenticating.


Willem