+2003-03-24 Havoc Pennington <hp@pobox.com>
+
+ * bus/connection.c (bus_connections_setup_connection): set up
+ the "can this user connect" function, but it always returns
+ TRUE until we have a config file parser so we can have a config
+ file that allows connections.
+
2003-03-23 Havoc Pennington <hp@pobox.com>
* dbus/dbus-threads.c (dbus_mutex_new, dbus_condvar_new): with
NULL))
_dbus_assert_not_reached ("setting timeout functions to NULL failed");
+ dbus_connection_set_unix_user_function (connection,
+ NULL, NULL, NULL);
+
bus_connection_remove_transactions (connection);
_dbus_list_remove (&d->connections->list, connection);
d = BUS_CONNECTION_DATA (connection);
_dbus_assert (d != NULL);
+
+ return TRUE; /* FIXME - this is just until we can parse a config file */
return bus_context_allow_user (d->connections->context, uid);
}
connection, NULL))
goto out;
+
+ dbus_connection_set_unix_user_function (connection,
+ allow_user_function,
+ NULL, NULL);
/* Setup the connection with the dispatcher */
if (!bus_dispatch_add_connection (connection))
connection,
NULL))
_dbus_assert_not_reached ("setting timeout functions to NULL failed");
+
+ dbus_connection_set_unix_user_function (connection,
+ NULL, NULL, NULL);
}
return retval;
Lists permitted authorization mechanisms. If this element doesn't
exist, then all known mechanisms are allowed. If there are
multiple <auth> elements, the last one wins (they are not merged).
+
+ Example: <auth>EXTERNAL</auth>
+ Example: <auth>DBUS_COOKIE_SHA1</auth>
<policy>
context="(default|mandatory)" one of the context/user/group