GNOME Bugzilla – Bug 562228
Login to exchange fails if "mailbox" is filled manually in the config wizard
Last modified: 2008-12-02 12:24:31 UTC
Please describe the problem: I'm using the PT language, I'm sorry if I name something wrong. When configuring a new account using the wizard, if you fill in your username, OWA URL and mailbox before hitting authenticate, the resulting configuration will not work. Evolution will say that the login to the exchange server failed "(wrong password?)". The only way to fix this is by erasing the mailbox field, hitting authenticate and let it fill it automatically. You'll also need to restart Evolution, which isn't requested, but that's another bug report I guess. Note that it doesn't matter if you fill the mailbox field correctly, something will not get done if you hit authenticate when the mailbox field is already filled and the resulting configuration won't work. Steps to reproduce: 1. Launch evolution without any configured accounts 2. Fill the configuration wizard with correct values regarding a working account, including username, OWA URL and mailbox, without hitting the "authenticate" button. 4. After everything is filled, hit "authenticate", no error will be given and the advance button will enable 5. Finish the wizard as usual with default values Actual results: Your password will be requested multiple times because they all fail. The error will report an unsuccessful login and you won't be able to access your exchange account. Expected results: Having access to the exchange server account. Does this happen every time? I've tested this settings multiple times, the results were all consistent while following these steps. Other information:
Afaik, there is no need to enter mailbox manually. Evolution will fetch mailbox automatically based on user and server url. This fields was added to make authentication possible for evolution when username!=mailbox. I would suggest to close bug as NOTABUG.
I currently can't test a scenario where username!=mailbox, but I'll update this soon, I would guess that it wouldn't work either though. In any case, there are 2 problems here. 1. If username==mailbox and if I fill it correctly, I would expect that configuration to work. 2. It seems to me that it is assumed the authenticate button is hit before you get to the mailbox field, but apart from the relative position of both objects, that isn't clear at all. It might be more logical for the user (as it was for me) to fill all the data on all text fields and then press any buttons that will use that data. I lost a few hours troubleshooting this and I don't feel that I was expecting some behaviour that I shouldn't. I can only guess that some necessary algorithm isn't triggered if that field is filled, correctly or not.
I cannot reproduce this. I tried both correct mail box name and incorrect mailbox name a both works with respect to authenticate process (the Forward button is enabled after hit of the Authenticate). I guess your server doesn't support authentication type you've selected in Evolution, for example you've there "plain text", but it should be "secure" password authentication. Can you check, please?
Never mind, my fault. I caused that with my initial patch to bug #273627. The problem is that the owa_path contains trailing slash (that at the end) and it also contains the mailbox name, which is wrong.
Created attachment 123557 [details] [review] proposed eds patch for evolution-data-server; It seems noone was using this feature yet. To let this fixed, re-authenticate in the account editor. You can workaround it when re-authenticating with empty mailbox name, even the change will be shown next start of evolution.
Created attachment 123733 [details] [review] proposed evo patch for evolution; Just a little extension. I was told that that's not clear the mailbox name is not usually supposed to be filled, thus this is to make it a bit clearer.
Works good and neat. Fine to commit to trunk. The label could be "Specify the mailbox name" instead.
eds part committed to trunk. Committed revision 9787. eds part committed to gnome-2-24. Committed revision 9788. evo part committed to trunk. Committed revision 36825. The caption of the check has been changed, no commit of evo part to gnome-2-24 because of the UI change.