[Kde-pim] Review Request: Akonadi self test for PostgreSQL should not connect as user akonadi

Brian DeRocher brian at derocher.org
Wed Mar 24 00:23:48 GMT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/3339/#review4647
-----------------------------------------------------------


http://websvn.kde.org/?view=revision&revision=1106726

- Brian


On 2010-03-23 14:20:38, Brian DeRocher wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/3339/
> -----------------------------------------------------------
> 
> (Updated 2010-03-23 14:20:38)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> The Akonadi self test connects to the PostgreSQL database as akonadi/akonadi, if the config file akonadiserverrc does not specify a username and password.  When the database was initialized (dbconfigpostgresql.cpp) a username a password were not written to the config file.  The connection is made as the current user.  In the database, the only role that exists is the local user.
> 
> This change will have the self test use a username and password if found in the config file.  Otherwise they are not used for the connection.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdepimlibs/akonadi/selftestdialog.cpp 1105514 
> 
> Diff: http://reviewboard.kde.org/r/3339/diff
> 
> 
> Testing
> -------
> 
> 
> I ran kcmshell4 kcm_akonadi.  Before the patch there was an X.  The detail message said 
> 
> FATAL:  role "akonadi" does not exist
> QPSQL: Unable to connect
> 
> With the patch the detail message is
> 
> The PostgreSQL server was found and connection is working.
> 
> I have not run a regression test, but would be glad to if someone shows me how.
> 
> 
> Screenshots
> -----------
> 
> PostgreSQL found
>   http://reviewboard.kde.org/r/3339/s/339/
> 
> 
> Thanks,
> 
> Brian
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list