After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 310353 - password prompt appears twice even after entering the correct password the first time
password prompt appears twice even after entering the correct password the fi...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.4.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
evolution[groupwise]
Depends on:
Blocks:
 
 
Reported: 2005-07-14 12:54 UTC by C Shilpa
Modified: 2008-04-25 12:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description C Shilpa 2005-07-14 12:54:01 UTC
Version details: 2.3.5
Distribution/Version: SuSE 9.3

1. Disable the account
2. Restart evolution
3. Enable the account
4. Enter the correct password in the password prompt. Click OK
5. It prompts for password again
Comment 1 Poornima 2005-07-14 20:31:55 UTC

*** This bug has been marked as a duplicate of 309420 ***
Comment 2 C Shilpa 2005-07-15 05:18:26 UTC
reopening the bug. marked as a duplicate of a connector bug
Comment 3 vivek jain 2005-07-15 15:14:16 UTC
I am not able to reproduce the bug. Can you attach the SOAP debug traces for that.
you just have to start eds on saperate terminal and have export
GROUPWISE_DEBUG=1 at both evo and eds terminals.
please collect the soap traces and attach.
Comment 4 C Shilpa 2005-09-28 08:59:37 UTC
not able to replicate using evolution-2.4.0.0.200509261646-0.snap.novell.0.1
Marking bug as verified - fixed.
Comment 5 C Shilpa 2005-09-28 09:34:25 UTC
reopening the bug. still replicable using
evolution-2.4.0.0.200509261646-0.snap.novell.0.1. Now even if the correct
password is entered, evolution does not authenticate the password. When it again
prompts for password, click on cancel and try to close evolution. It keeps
prompting for password even if we click on cancel.

Evolution authenticated the same password that was entered (correct password)
after reopening it.

Here are the SOAP traces from the evo terminal:
adding hook target 'source'

(evolution-2.4:13004): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed
BBDB spinning up...

(evolution-2.4:13004): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text !=
NULL' failed

(evolution-2.4:13004): Gtk-CRITICAL **: gtk_tree_sortable_set_sort_column_id:
assertion `GTK_IS_TREE_SORTABLE (sortable)' failed

(evolution-2.4:13004): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed
POST /soap HTTP/1.1
SOAP-Debug: 0x87e1b20 @ 1127898922
Host: blr-mail4.blr.novell.com
Connection: Keep-Alive
User-Agent: Evolution/1.4.0
Content-Type: text/xml
SOAPAction: loginRequest

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Body
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"
SOAP-ENV:encodingStyle=""><loginRequest><types:auth
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="types:PlainText"><types:username>cshilpa</types:username><types:password>XXXXXXXXXXX</types:password></types:auth></loginRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

200
SOAP-Debug: 0x87e1b20 @ 1127898923
Pragma: no-cache
Date: Wed, 28 Sep 2005 15:00:24 GMT
Server: Windows NT GroupWise POA 7.0
Content-Length: 713
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body
SOAP-ENV:encodingStyle=""
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"><loginResponse><session>bfLHfnF6Oc7dI2Co</session><userinfo><name>C
Shilpa</name><email>cshilpa@novell.com</email><uuid>D8C48201-0E8B-0000-812F-0008023E1EB3</uuid></userinfo><gwVersion>7.0
</gwVersion><serverUTCTime>2005-09-28T09:30:24Z</serverUTCTime><status><code>0</code></status></loginResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
POST /soap HTTP/1.1
SOAP-Debug: 0x87e1b20 @ 1127898923
Host: blr-mail4.blr.novell.com
Connection: Keep-Alive
User-Agent: Evolution/1.4.0
Content-Type: text/xml
SOAPAction: getAddressBookListRequest

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Header
SOAP-ENV:encodingStyle=""><session>bfLHfnF6Oc7dI2Co</session></SOAP-ENV:Header><SOAP-ENV:Body
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"
SOAP-ENV:encodingStyle=""><getAddressBookListRequest/></SOAP-ENV:Body></SOAP-ENV:Envelope>

200
SOAP-Debug: 0x87e1b20 @ 1127898923
Pragma: no-cache
Date: Wed, 28 Sep 2005 15:00:24 GMT
Server: Windows NT GroupWise POA 7.0
Content-Length: 1051
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header
SOAP-ENV:encodingStyle=""/><SOAP-ENV:Body SOAP-ENV:encodingStyle=""
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"><getAddressBookListResponse><books><book><id>423ED28D.BANGALORE.BLR.104.16F3172.1.1.1@53</id><name>Frequent
Contacts</name><version>6</version><modified>2005-09-20T18:30:36Z</modified><isPersonal>1</isPersonal><isFrequentContacts>1</isFrequentContacts></book><book><id>GroupWiseSystemAddressBook@52</id><name>Novell
GroupWise Address
Book</name></book><book><id>423ED28D.BANGALORE.BLR.104.16F3172.1.3.1@53</id><name>C
Shilpa</name><version>5</version><modified>2005-09-22T03:29:06Z</modified><isPersonal>1</isPersonal></book></books><status><code>0</code></status></getAddressBookListResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

POST /soap HTTP/1.1
SOAP-Debug: 0x87d6378 @ 1127898970
Host: blr-mail4.blr.novell.com
Connection: Keep-Alive
User-Agent: Evolution/1.4.0
Content-Type: text/xml
SOAPAction: loginRequest

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Body
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"
SOAP-ENV:encodingStyle=""><loginRequest><types:auth
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="types:PlainText"><types:username>cshilpa</types:username><types:password>XXXXXXXXXXX</types:password></types:auth></loginRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

301 Moved Permanently
SOAP-Debug: 0x87d6378 @ 1127898970
Location: https://blr-mail4.blr.novell.com:7191

<html><head><title>Moved</title></head><body>Requested resource has
moved</body></html>

HTTP/1.0 500
Date: Wed, 28 Sep 2005 15:01:11 GMT
Server: Windows NT GroupWise POA 7.0
Content-Type: text/html
Pragma: no-cache


500
SOAP-Debug: 0x87d6378 @ 1127898970
Pragma: no-cache
Date: Wed, 28 Sep 2005 15:01:11 GMT
Server: Windows NT GroupWise POA 7.0
Content-Type: text/html
gw connection dispose
gw connection finalize

POST /soap HTTP/1.1
SOAP-Debug: 0x8092800 @ 1127899002
Host: blr-mail4.blr.novell.com
Connection: Keep-Alive
User-Agent: Evolution/1.4.0
Content-Type: text/xml
SOAPAction: loginRequest

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Body
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"
SOAP-ENV:encodingStyle=""><loginRequest><types:auth
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="types:PlainText"><types:username>cshilpa</types:username><types:password>XXXXXXXXXXX</types:password></types:auth></loginRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

301 Moved Permanently
SOAP-Debug: 0x8092800 @ 1127899002
Location: https://blr-mail4.blr.novell.com:7191

<html><head><title>Moved</title></head><body>Requested resource has
moved</body></html>

HTTP/1.0 500
Date: Wed, 28 Sep 2005 15:01:44 GMT
Server: Windows NT GroupWise POA 7.0
Content-Type: text/html
Pragma: no-cache


500
SOAP-Debug: 0x8092800 @ 1127899002
Pragma: no-cache
Date: Wed, 28 Sep 2005 15:01:44 GMT
Server: Windows NT GroupWise POA 7.0
Content-Type: text/html
gw connection dispose
gw connection finalize


Here are the SOAP traces from the eds terminal:
evolution-data-server-Message: Starting server
e-data-server-Message: adding type `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseTodosFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseEventsFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `ECalBackendFileTodosFactory'
e-data-server-Message: adding type `ECalBackendFileEventsFactory'
e-data-server-Message: adding type `ECalBackendFileJournalFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
in server_log_handler
evolution-data-server-Message: Server up and running
cal = 0x8071eb8
cal = 0x807ddc8
cal = 0x8083348
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/shilpa/.evolution/addressbook/local/system
 => 0x80824e8
impl_GNOME_Evolution_Addressbook_Book_open (0x80824e8)

(evolution-data-server:12983): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains
"x-evolution-any-field"  ""))

e_data_book_respond_get_book_view
starting book view thread
starting initial population of book view
signalling parent thread
returning from start_book_view
book_view file uref
finished population of book view

(evolution-data-server:12983): libedata-book-WARNING **: flushed summary to disk
Comment 6 Sankar P 2005-11-08 05:36:06 UTC
1) If you feel, Evolution fails to auth for correct password, we are in no way
to fix it unless we have the loginResponse of that failed instance. Server logs
with tools like Ethereal could be better supplements. File it as a seperate bug
with relevant SOAP traces. This bug hardly has anything to do with it.

2) For asking passwords second-time, even after pressing cancel, it is because
it is trying to authenticate EDS. So it is not definitely mailer.

For (2),  You may keep this bug opened as a tracker bug and close it once the
session-sharing or Esource-dependancy-removal is implemented. 

You can change the summary from "password prompt appears twice even after
entering the correct password the first time" to "password prompt appears twice
when Cancel is clicked the first time".
Comment 7 Sankar P 2005-11-08 05:52:02 UTC
Another point to add: 

Evolution will prompt for password twice (after a cancel), only when the accoutn
is enabled. Becuase, the ESources will be created at that time. When you cancel,
during the password prompt for a pre-enabled account, it wont prompt the
passwords twice. But the probability of an user enabling an account and clicking
Cancel for the passwords is minmal. So reducing the severity.
Comment 8 Matthew Barnes 2008-03-11 00:25:27 UTC
Bumping version to a stable release.
Comment 9 Milan Crha 2008-04-25 12:27:28 UTC
It works now as expected, if you cancel a password prompt for the mail account but cancels it, then no other prompt for that account will be shown. I'm closing this, but feel free to reopen if you think it's not enough (I understood from the above comments it was the last thing which was missing here.)
This part is a duplicate for bug #307410.