summaryrefslogtreecommitdiff
path: root/bus/policy.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-05-19 15:26:32 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-05-19 15:26:32 +0000
commit53d9af111707c088073355be1b52e30e020a7b43 (patch)
treebeb98be55ee61b30318abd58357320d7aea81bf6 /bus/policy.c
parentc3793db07ff818af80498a3f78b03756977fce7b (diff)
downloaddbus-53d9af111707c088073355be1b52e30e020a7b43.tar.gz
* bus/policy (bus_policy_create_client_policy): win32 temporary fix until the userdb stuff is ported completly.
Diffstat (limited to 'bus/policy.c')
-rw-r--r--bus/policy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bus/policy.c b/bus/policy.c
index 7782563b..52ae72a4 100644
--- a/bus/policy.c
+++ b/bus/policy.c
@@ -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)