From: Cosimo Alfarano Date: Tue, 18 Oct 2011 11:08:00 +0000 (+0100) Subject: dbus_connection_set_allow_anonymous(): fix doc X-Git-Tag: dbus-1.7.6~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4722d4480de77af6a0c8201882731dc35777d36;p=thirdparty%2Fdbus.git dbus_connection_set_allow_anonymous(): fix doc Bug: http://bugs.freedesktop.org/show_bug.cgi?id=39720 Reviewed-by: Ralf Habacker --- diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index a6caaea62..a82ebcf64 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -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