Bug 271341 - Akonadi can not be used at the same time by two users on Windows
Summary: Akonadi can not be used at the same time by two users on Windows
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.6
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 11:03 UTC by Andre Heinecke
Modified: 2011-09-15 17:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Heinecke 2011-04-20 11:03:59 UTC
Version:           4.6 (using Devel) 
OS:                MS Windows

If you have akonadi running and lock your session on Windows allowing another user to log in while your processes are still alive or if you try to use akonadi on a server with multiple users several problems occur:

If the second user does not have read access on the first users home folder Akonadi startup crashes for the second user.

If the second user has access to the first users home directory a second akonadiserver starts and Kontact is able to show the imap ressource of the first user but is not showing the first users smtp ressource.
In akonadiconsole only the ressources of the second user are shown.


There is more debugging on this necessary and i do not have a backtrace of the crash because of running a release build.

Reproducible: Always
Comment 1 Andre Heinecke 2011-09-02 15:39:43 UTC
Git commit c74d0331ad647f388ac8afa824221dabea0fe4af by Andre Heinecke.
Committed on 02/09/2011 at 12:54.
Pushed by aheinecke into branch 'master'.

Fix akonadi multiuser on Windows

    When two users tried to start an akonadiserver on Windows
    the default NamedPipe conflicted causing akonadi to crash.

    With this patch the NamedPipe will include the Windows Username
    to avoid such conflicts.

    Tested to work with Spaces and special characters in the Username.

    BUG: 271341

M  +41   -1    server/src/akonadi.cpp

http://commits.kde.org/akonadi/c74d0331ad647f388ac8afa824221dabea0fe4af
Comment 2 Volker Krause 2011-09-15 17:13:41 UTC
Git commit 8dc5aba78517109f003156c573e5f4e120c13c50 by Volker Krause, on behalf of Andre Heinecke.
Committed on 02/09/2011 at 12:54.
Pushed by vkrause into branch '1.6'.

Fix akonadi multiuser on Windows

    When two users tried to start an akonadiserver on Windows
    the default NamedPipe conflicted causing akonadi to crash.

    With this patch the NamedPipe will include the Windows Username
    to avoid such conflicts.

    Tested to work with Spaces and special characters in the Username.

    BUG: 271341

M  +41   -1    server/src/akonadi.cpp

http://commits.kde.org/akonadi/8dc5aba78517109f003156c573e5f4e120c13c50