<div>Hi Havoc!</div>
<div> </div>
<div>Thank you for your fast reply!</div>
<div> </div>
<div>I've been trying to work with 1.1.2 but the results are pretty much the same, except that connecting client exits with the weird "Family none" printing appears for every error to occur.</div>
<div> </div>
<div>Here's conf file I am using to run the daemon-dbus:</div>
<div> </div>
<div>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"><!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"<br> "</font><a href="http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<font style="BACKGROUND-COLOR: #ffffff" color="#cc0000">http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd</font></a><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000">"><br><busconfig></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Our well-known bus type, do not change this --><br> <type>session</type></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Run as special user --><br><!-- <user>messagebus</user> --></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Fork into daemon mode --><br> <fork/></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Write a pid file --><br> <pidfile>/tmp/dbus/sergey-pid</pidfile></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Only allow socket-credentials-based authentication --><br> <auth>ANONYMOUS</auth></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Only listen on a local socket. (abstract=/path/to/socket<br> means use abstract namespace, don't really create filesystem<br> file; only Linux supports this. Use path=/whatever on other
<br> systems.) --><br> <!-- <listen>unix:path=/var/run/dbus/system_bus_socket</listen> --><br> <listen>tcp:host=<a href="http://0.0.0.0">0.0.0.0</a>,port=6666</listen></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <policy context="default"><br> <!-- Deny everything then punch holes --><br> <allow send_interface="*"/><br> <allow receive_interface="*"/>
</font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <allow own="*"/><br> <!-- But allow all users to connect --><br> <allow user="*"/><br> <!-- Allow anyone to talk to the message bus -->
<br> <!-- FIXME I think currently these allow rules are always implicit<br> even if they aren't in here --><br> <allow send_destination="org.freedesktop.DBus"/><br> <allow receive_sender="
org.freedesktop.DBus"/><br> <!-- valid replies are always allowed --><br> <allow send_requested_reply="true"/><br> <allow receive_requested_reply="true"/><br> </policy>
</font></p>
<p><br><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- Config files are placed here that among other things, punch<br> holes in the above policy for specific services. --><br> <includedir>
system.d</includedir></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <!-- This is included last so local configuration can override what's<br> in this standard file --><br> <include ignore_missing="yes">
system-local.conf</include></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"> <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include></font></p>
<p><font style="BACKGROUND-COLOR: #ffffff" color="#cc0000"></busconfig></font></p>
<p><br> What am I doing wrong?</p><br><br> </div>
<div><span class="gmail_quote">On 8/1/07, <b class="gmail_sendername">Havoc Pennington</b> <<a href="mailto:hp@redhat.com">hp@redhat.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Sergey Struzh wrote:<br>> (browsing the mail list I found that when running<br>> dbus-daemon as root "DBUS_COOKIE_SHA1" could work but so far it fails
<br>> for me).<br><br>The cookie mechanism involves both sides of the connection seeing the<br>same home directory, e.g. with NFS home directory mounts.<br><br>> I understand also that future versions of DBus is planned to
<br>> include "ANONYMOUS", so can someone provide me with release number it is<br>> going to be included in (and approximate date for it)?<br><br>It is already in the current development release, see the dbus web site.
<br>The final 1.2 release should be in the next few months. You can go ahead<br>and test with 1.1.2 though.<br><br>> Also, may I ask<br>> for simple explanation how the brand new protocol works?<br><br>The client says "I want to auth anonymously" and the server says "OK"
<br>(not an oversimplification - that's all that happens)<br><br>> As long as I am not concerned so far with the security issues, my main<br>> question is whether there's a simple way to disable authentication in
<br>> the DBus?<br><br>That's what the ANONYMOUS auth is, it is authentication that doesn't<br>require you to prove you have any particular identity (i.e. no<br>authentication at all)<br><br>Havoc<br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Regards,<br><br>Sergey