dbus_connection_set_allow_anonymous(): fix doc
authorCosimo Alfarano <cosimo.alfarano@collabora.com>
Tue, 18 Oct 2011 11:08:00 +0000 (12:08 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 23 Aug 2013 00:18:47 +0000 (02:18 +0200)
Bug: http://bugs.freedesktop.org/show_bug.cgi?id=39720
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
dbus/dbus-connection.c

index a6caaea..a82ebcf 100644 (file)
@@ -5413,6 +5413,11 @@ dbus_connection_set_windows_user_function (DBusConnection              *connecti
  * such as ANONYMOUS that supports anonymous auth must be included in
  * the list of available mechanisms for anonymous login to work.
  *
+ * Note that the mechanism might reject the connection even if anonymous
+ * authentication has been enabled if dbus_connection_set_unix_user_function()
+ * or dbus_connection_set_windows_user_function() have been used to set a
+ * specific authorization callback.
+ *
  * This setting also changes the default rule for connections
  * authorized as a user; normally, if a connection authorizes as
  * a user identity, it is permitted if the user identity is