Bug 913554
| Summary: | Kerberos auth for MAPI calendar, contacts and notes | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ludek Finstrle <luf> |
| Component: | evolution-mapi | Assignee: | Matthew Barnes <mbarnes> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | mbarnes, mcrha |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | evolution-mapi-3.6.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-26 09:45:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ludek Finstrle
2013-02-21 13:20:23 UTC
Hmm, the kerberos auth might be used more or less transparently, across all parts of evolution/evolution-data-server. Could you try, when you've active ticket, to close evolution and all other evolution processes, especially evolution-calendar-factory, evolution-addressbook-factory and evolution-source-registry (basically in this order), thus they are restarted and the calendar sources are reopened with the active kerberos ticket? I did it several times. Each time I removed pwd from gnome vault (or how it's called)+pkill -f evolution I get the prompt for password. $ ps axf | grep evolution 1936 ? Sl 0:01 \_ /usr/libexec/evolution/3.6/evolution-alarm-notify 2030 ? SLl 0:02 /usr/libexec/evolution-source-registry 2074 ? Sl 0:03 /usr/libexec/evolution-calendar-factory 2219 ? Sl 0:03 /usr/libexec/evolution-addressbook-factory This is what is running here when evolution is stopped. BTW I obtain krb ticket during login (pam) so the non-exist krb ticket is not the issue for sure. (In reply to comment #2) > BTW I obtain krb ticket during login (pam) so the non-exist krb ticket is > not the issue for sure. It depends on service run order after start/login. The evolution-alarm-notify is autostarted in a session, which can run all the processes you showed as running when evolution is stopped. The evolution-source-registry deals with passwords, and if the calendar factory asks for a kerberos ticket before you entered the password during login (this all is happening during login), then it can skip kerberos auth. Nonetheless, as you said you see the same even after kill of the calendar factory when you've the ticker ready, then this is something else. (In reply to comment #0) > I see only one MAPI source on filesystem: > $ ls -la .config/evolution/sources/ > birthdays.source 1358954760.4821.0 > local.source 1358954760.4821.2 > system-calendar.source 1358954760.4821.5 > vfolder.source 1358954761.4821.17 could you check which of these sources contain "Kerberos" (quotes for clarity only), and whether it's 'true'? $ grep Kerberos * 1358954760.4821.2:Kerberos=true $ grep ackend * birthdays.source:BackendName=contacts local.source:BackendName=maildir local.source:[Maildir Backend] system-calendar.source:BackendName=local system-memo-list.source:BackendName=local system-task-list.source:BackendName=local vfolder.source:BackendName=vfolder vfolder.source:[Vfolder Backend] 1358954760.4821.2:BackendName=mapi 1358954760.4821.2:[Mapi Backend] 1358954760.4821.5:BackendName=mapi 1358954761.4821.17:BackendName=mapi Maybe some relevant info: $ grep Parent 135895476* 1358954760.4821.0:Parent=1358954760.4821.2@hostname 1358954760.4821.2:Parent= 1358954760.4821.5:Parent=1358954760.4821.2@hostname 1358954761.4821.17:Parent=1358954760.4821.2@hostname 1358954760.4821.2: [Data Source] DisplayName=Company Enabled=true Parent= [Offline] StaySynchronized=true [Authentication] Host=exchange.domain.local Method=none Port=0 User=account [Collection] BackendName=mapi CalendarEnabled=true ContactsEnabled=true Identity=account MailEnabled=true [Security] Method=none [Mapi Backend] FilterInbox=true CheckAll=true Domain=DOMAIN FilterJunk=true FilterJunkInbox=false Kerberos=true Profile=account@DOMAIN.local Realm=DOMAIN.LOCAL ListenNotifications=true Could you try with this [1] test package, please? I found out that the evolution-source-registry part wasn't aware of Kerberos, but the other parts like book and calendar backends know about it. Please make sure you'll have the latest samba too. [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=5054372 I forgot to add, maybe a restart of evolution-source-registry will be required, and it can behave differently depending whether the kerberos ticket is available or not (it doesn't ask me for a ticket when I do not have it, but it can be an issue in my local setup, rather than in evolution-mapi itself). Thank you very much again. You find the cause and fixi it. I have working evolution-mapi with Kerberos (and no passwd has to be filled) also for calendar and others. So you can close the ticket as resolved. Thanks for the confirmation. I committed the change for evolution-mapi-3.6.4. I think there are probably some corner cases, like when the ticket is expired and such, but hopefully recoverable issue. |