Problems with ANONYMOUS authentication on SUSE 10.3 ???

Bogdan Lotko boguslaw.lotko at chello.at
Wed May 25 07:11:37 PDT 2011


Hello,

I have the following problem:

The D-Bus daemon  V. 1.4.1 compiled on SuSE 10.3 is running on SuSE 10.3 
and listening on host=192.168.0.10,port=12345.
The <auth>ANONYMOUS</auth> and <allow_anonymous/> statements are present 
in the .config file.
The daemon runs in verbose mode.

Now:
Remote applications from the SuSE 11.2 seem to send an "AUTH ANONYMOUS 
xxxxx" command and can connect to the D-Bus.
Local applicatins (exactly the same as on SuSE 11.2) but complied on 
SuSE 10.3 do not send this command.
Only "AUTH EXTERNAL xxxx" and AUTH DBUS_COOKIE_SHA1 xxxxx" are sent, but 
for both the server says "Unsupported mechanism..." and then rejects the 
requests.
So I can't connect to this D-Bus daemon locally.

What even worse:
The local (legacy) application that shall be started on SUSE 10.3 as the 
service also can't connect to the D-Bus.
The critical statement is:

  cout << "BEFORE CONNECTING TO STARTER BUS" << endl;
  bus = dbus_g_bus_get( DBUS_BUS_STARTER, &error );
  if (!bus)
  {
    cout << "Couldn't connect to starter bus. " << error->message << ". 
EXITING" << endl;
    // This is an essential problem so...
    exit(1);
  }

The "couts" are visible on the attached D-Bus daemon log verbose.txt.

When the session daemon is used everything works perfectly, but the real 
goal is to start the REMOTE service.

What shall be done that the above service could be started by the D-Bus 
daemon as described above.

Thanks for your help,

with best regards

Bogdan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110525/c20adac3/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: verbose.txt
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110525/c20adac3/attachment-0001.txt>


More information about the dbus mailing list