dbus/bus policy.c,1.25,1.26

Ralf Habacker rhabacker at kemper.freedesktop.org
Sat May 19 08:26:34 PDT 2007


Update of /cvs/dbus/dbus/bus
In directory kemper:/tmp/cvs-serv5582/bus

Modified Files:
	policy.c 
Log Message:
* bus/policy (bus_policy_create_client_policy): win32 temporary fix until the userdb stuff is ported completly.

Index: policy.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/policy.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- policy.c	15 Mar 2007 13:27:01 -0000	1.25
+++ policy.c	19 May 2007 15:26:32 -0000	1.26
@@ -324,9 +324,13 @@
 
   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)



More information about the dbus-commit mailing list