Use GSSAPI when possible, instead of asking for password, during IMAP account setup
I obtain a Kerberos ticket with echo abc|kinit aaa@AEGEE.ORG
. Then I setup an email account for aaa@aegee.org. Then Evolution asks for password. I close the password prompt, go in the “Edit account” window→Receiving Email→ and from the Authentication choose GSSAPI. Then everything works, in particular the imap service tickets were obtained
$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: aaa@AEGEE.ORG
Valid starting Expires Service principal
09/25/2019 17:38:40 09/26/2019 17:38:40 krbtgt/AEGEE.ORG@AEGEE.ORG
09/25/2019 17:40:08 09/26/2019 17:38:40 imap/mail.aegee.org@
09/25/2019 17:40:08 09/26/2019 17:38:40 imap/mail.aegee.org@AEGEE.ORG
- During email account setup, if there is a Kerberos TGT and the service supports GSSAPI, then use GSSAPI and do not ask the user for password.
Edited by Дилян Палаузов