Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/libxmpp.c @ 22498:aed6cbd18a3b
Now that Adium has cyrus-sasl enabled, I'm having a lot of users report problems connecting to servers which ultimately turn out to be that the server supports GSSAPI in addition to other mechanisms and the user isn't configured serverside or clientside to authenticate properly. Generally speaking, a user/password combination is the expectation for most people for connecting.
>
> This adds an account preference, off by default, which enables GSSAPI authentication. If there's a huge outcry against displaying this preference in Pidgin and Finch, I'd appreciate leaving it in as a 'hidden' preference (changed to TRUE by default) which UIs can use; I plan to expose it within Adium.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 20 Mar 2008 00:20:27 +0000 |
parents | d0a3463633ba |
children | 49deb72ffdc1 |
comparison
equal
deleted
inserted
replaced
22497:6bd3a83e9d8c | 22498:aed6cbd18a3b |
---|---|
222 _("Allow plaintext auth over unencrypted streams"), | 222 _("Allow plaintext auth over unencrypted streams"), |
223 "auth_plain_in_clear", FALSE); | 223 "auth_plain_in_clear", FALSE); |
224 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, | 224 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, |
225 option); | 225 option); |
226 | 226 |
227 #ifdef HAVE_CYRUS_SASL | |
228 option = purple_account_option_bool_new( | |
229 _("Use GSSAPI (Kerberos v5) for authentication"), | |
230 "auth_gssapi", FALSE); | |
231 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, | |
232 option); | |
233 #endif | |
234 | |
227 option = purple_account_option_int_new(_("Connect port"), "port", 5222); | 235 option = purple_account_option_int_new(_("Connect port"), "port", 5222); |
228 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, | 236 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, |
229 option); | 237 option); |
230 | 238 |
231 option = purple_account_option_string_new(_("Connect server"), | 239 option = purple_account_option_string_new(_("Connect server"), |