[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: authentification for dbus tcp transport
From:       Havoc Pennington <hp () redhat ! com>
Date:       2007-10-16 16:22:10
Message-ID: 4714E532.4020506 () redhat ! com
[Download RAW message or body]

Hi,

msg@altern.org wrote:
> <auth>ANONYMOUS</auth>
> 
> Then I can't connect even from the user who launched the bus? I get a
> NoReply error which appears instantly.

Are you using 1.0.x? ANONYMOUS is new in the development release 
(1.1.whatever)

> Without any <auth>, it works with the user who launched the bus, does it
> mean that another authentification mecanism is used in this case? Or that
> in the former cases my configuration is not properly set?

If you omit any <auth> I think all non-anonymous mechanisms are used by 
default, not sure. That would include DBUS_COOKIE_SHA1.

For the user that launched the bus, if you connect to localhost, 
DBUS_COOKIE_SHA1 should work because both client and server can read the 
cookie file from the user's home directory.

However, DBUS_COOKIE_SHA1 won't work between machines unless they share 
home directories via NFS or whatever.

Havoc

_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic