Commit 53d9af11 authored by Ralf Habacker's avatar Ralf Habacker

* bus/policy (bus_policy_create_client_policy): win32 temporary fix until the...

* bus/policy (bus_policy_create_client_policy): win32 temporary fix until the userdb stuff is ported completly.
parent c3793db0
2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
* bus/policy (bus_policy_create_client_policy):
win32 temporary fix until the userdb stuff is ported completly.
2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
* dbus/dbus-server.c (listen_funcs):
_dbus_server_listen_platform_specific is emtpy on win32,
_dbus_server_listen_platform_specific is empty on win32,
limited to unix only.
* dbus/dbus-server.c (valid_addresses): limit unix
......
......@@ -324,9 +324,13 @@ bus_policy_create_client_policy (BusPolicy *policy,
if (!dbus_connection_get_unix_user (connection, &uid))
{
#ifdef DBUS_WIN_FIXME
_dbus_verbose ("policy.c: dbus_connection_get_unix_user check disabled under windows\n");
#else
dbus_set_error (error, DBUS_ERROR_FAILED,
"No user ID known for connection, cannot determine security policy\n");
goto failed;
#endif
}
if (_dbus_hash_table_get_n_entries (policy->rules_by_uid) > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment