reverted:
--- ximian-connector-2.0.3/storage/exchange-account.c	2004-11-05 06:57:12.000000000 +0200
+++ ximian-connector-2.0.2/storage/exchange-account.c	2004-10-11 08:21:46.000000000 +0300
@@ -66,7 +66,7 @@
 	gboolean uris_use_email;
 
 	char *identity_name, *identity_email, *source_uri, *password_key;
+	char *username, *password, *ad_server;
-	char *username, *password, *windows_domain, *ad_server;
 	E2kAutoconfigAuthPref auth_pref;
 	int ad_limit;
 
@@ -265,9 +265,6 @@
 			strlen (account->priv->password));
 		g_free (account->priv->password);
 	}
-	if (account->priv->windows_domain)
-		g_free (account->priv->windows_domain);
-
 	if (account->priv->ad_server)
 		g_free (account->priv->ad_server);
 
@@ -962,7 +959,6 @@
 	struct dirent *dent;
 	DIR *d;
 	char *old_password, *new_password;
-	char *user_name = NULL;
 
 	g_return_val_if_fail (EXCHANGE_IS_ACCOUNT (account), NULL);
 
@@ -979,18 +975,10 @@
 	account->priv->connecting = TRUE;
 	g_mutex_unlock (account->priv->connect_lock);
 
-	if (account->priv->windows_domain)
-		user_name = g_strdup_printf ("%s\\%s", account->priv->windows_domain, 
-							account->priv->username);
-	else
-		user_name = g_strdup (account->priv->username);
-
 	ac = e2k_autoconfig_new (account->home_uri,
+				 account->priv->username,
-				 user_name,
 				 NULL,
 				 account->priv->auth_pref);
-	g_free (user_name);
-
 	e2k_autoconfig_set_gc_server (ac, account->priv->ad_server,
 				      account->priv->ad_limit);
 
@@ -1520,12 +1508,6 @@
 	account->priv->password_key = g_strdup_printf ("exchange://%s", account->priv->uri_authority);
 
 	account->priv->username = g_strdup (uri->user);
-
-	if (uri->domain)
-		account->priv->windows_domain = g_strdup (uri->domain);
-	else
-		account->priv->windows_domain = NULL;
-
 	account->exchange_server = g_strdup (uri->host);
 	if (uri->authmech && !strcmp (uri->authmech, "Basic"))
 		account->priv->auth_pref = E2K_AUTOCONFIG_USE_BASIC;
