mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 06:08:01 +02:00
* bus/policy (bus_policy_create_client_policy): win32 temporary fix until the userdb stuff is ported completly.
This commit is contained in:
parent
c3793db07f
commit
53d9af1117
2 changed files with 10 additions and 1 deletions
|
|
@ -1,7 +1,12 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue