Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:shashish
evolution
bnc-179063-evo-popsup-twice-during-account-crea...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc-179063-evo-popsup-twice-during-account-creation.patch of Package evolution
--- plugins/exchange-operations/exchange-account-setup.c 2008-03-13 15:59:16.000000000 +0530 +++ plugins/exchange-operations/exchange-account-setup.c 2008-03-13 16:02:35.000000000 +0530 @@ -422,7 +422,7 @@ owa_authenticate_user(GtkWidget *button, E2kAutoconfigResult result; CamelURL *url=NULL; gboolean remember_password; - char *url_string; + char *url_string, *key; const char *source_url, *id_name, *owa_url; char *at, *user; gboolean valid = FALSE; @@ -461,17 +461,24 @@ owa_authenticate_user(GtkWidget *button, exchange_params->is_ntlm = TRUE; else exchange_params->is_ntlm = FALSE; - valid = e2k_validate_user (owa_url, &url->user, exchange_params, - &remember_password, &result); - if (!valid) + camel_url_set_authmech (url, exchange_params->is_ntlm ? "NTLM" : "Basic"); + + key = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS); + /* Supress the trailing slash */ + key [strlen(key) -1] = 0; + + valid = e2k_validate_user (owa_url, key, &url->user, exchange_params, + &remember_password, &result); + g_free (key); + + if (!valid && result != E2K_AUTOCONFIG_CANCELLED) print_error (owa_url, result); camel_url_set_host (url, valid ? exchange_params->host : ""); - if (valid) { - camel_url_set_authmech (url, exchange_params->is_ntlm ? "NTLM" : "Basic"); + if (valid) camel_url_set_param (url, "save-passwd", remember_password? "true" : "false"); - } + camel_url_set_param (url, "ad_server", valid ? exchange_params->ad_server: NULL); camel_url_set_param (url, "mailbox", valid ? exchange_params->mailbox : NULL); camel_url_set_param (url, "owa_path", valid ? exchange_params->owa_path : NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor