Bug 316009 - Allow setting different username from jabber id for jabber networks
Summary: Allow setting different username from jabber id for jabber networks
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Unmaintained
Component: accounts-kcm (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR task
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 11:38 UTC by Martin Klapetek
Modified: 2013-03-18 13:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klapetek 2013-03-02 11:38:11 UTC
Jabber supports setting different username from the jabber id itself, we should add an input field in the jabber advanced settings.

It is possible to set this up on N9 (through some command-line fidling), so the connection manager does support that.
Comment 1 David Edmundson 2013-03-02 14:20:06 UTC
Contact::setAlias does not exist in TpQt
It is in the Tp spec though (http://telepathy.freedesktop.org/spec/Connection_Interface_Aliasing.html) so it means patching TpQt


I thought this came up before and the decision was "in the kpeople version, this is redundant" so this wasn't a valuable use of our time?
Comment 2 Martin Klapetek 2013-03-02 14:25:11 UTC
No, the description is unclear, sorry.

Some jabber servers need users to login with different username than jabber id, so we should provide an input line in the jabber account advanced properties settings. However I'm not sure which gabble param this corresponds to.

Georg, it would be very helpful if you recalled the steps you did on your N9 to make this happen.
Comment 3 Georg Greve 2013-03-02 14:49:26 UTC
This is an actual command line that worked for me on my N9 and still works for me on KDE 4.10:

mc-tool add gabble/jabber "greve@kolabsys.com" string:account=greve@kolabsys.com string:password=[...] string:server=im.kolabsys.com bool:require-encryption=1 bool:ignore-ssl-errors=1

I did not manage to add this account through the GUI (get authentication error).
Comment 4 Martin Klapetek 2013-03-05 18:14:00 UTC
Georg - are you using packages or self-compiled KTp installed in other place than /usr?
Comment 5 David Edmundson 2013-03-17 15:14:25 UTC
Expanding on #4, this error is probably not that the username JID are different but a problem with kwallet/ktp-auth-handler which can occur in various self-compiled setups (see http://community.kde.org/Real-Time_Communication_and_Collaboration/Troubleshooting#Nothing_happens_when_I_try_and_start_a_chat_with_someone_from_the_contact_list.)

The mc-tool command you posted has no reference to different usernames and JID which is mentioned in the title. By using mc-tool directly the password is saved in gnome-keyring instead of kwallet and authentication is handled differently.

There is not enough information in this bug report to do anything useful.
If you can recreate this bug, please confirm where you acquired KTp and whether the password is successfully saved in KWallet.
Comment 6 Georg Greve 2013-03-18 07:19:58 UTC
This was on Fedora 18, with Red Hat KDE Repositories.

Package info: 

rpm -q -i ktp-accounts-kcm
Name        : ktp-accounts-kcm
Version     : 0.5.3
Release     : 1.fc18
Architecture: x86_64
Install Date: Thu 14 Mar 2013 11:44:02 AM CET
Group       : Unspecified
Size        : 1750487
License     : LGPLv2+
Signature   : RSA/SHA256, Mon 18 Feb 2013 06:17:09 PM CET, Key ID ff01125cde7f38bd
Source RPM  : ktp-accounts-kcm-0.5.3-1.fc18.src.rpm
Build Date  : Mon 18 Feb 2013 12:31:44 PM CET
Build Host  : buildvm-02.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://projects.kde.org/projects/extragear/network/telepathy/ktp-accounts-kcm
Summary     : KDE Configuration Module for Telepathy Instant Messaging Accounts
Description :
This is a KControl Module which handles adding/editing/removing Telepathy
Accounts. It interacts with any Telepathy Spec compliant AccountManager
to manipulate the accounts.

Anything else I can provide in terms of information?
Comment 7 Martin Klapetek 2013-03-18 11:43:16 UTC
Can you check you have ktp-auth-handler installed?
Comment 8 Georg Greve 2013-03-18 13:35:38 UTC
rpm -q -i ktp-auth-handler
Name        : ktp-auth-handler
Version     : 0.5.3
Release     : 1.fc18
Architecture: x86_64
Install Date: Mon 18 Mar 2013 01:03:31 PM CET
Group       : Unspecified
Size        : 203682
License     : LGPLv2+
Signature   : RSA/SHA256, Mon 18 Feb 2013 05:53:12 PM CET, Key ID ff01125cde7f38bd
Source RPM  : ktp-auth-handler-0.5.3-1.fc18.src.rpm
Build Date  : Mon 18 Feb 2013 12:09:05 PM CET
Build Host  : buildvm-01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://projects.kde.org/projects/extragear/network/telepathy/ktp-auth-handler
Summary     : Provide UI/KWallet Integration
Description :
Provide UI/KWallet Integration For Passwords and SSL Errors on Account Connect.
Comment 9 Georg Greve 2013-03-18 13:51:08 UTC
Interestingly enough, I needed to install this package by hand.

Once installed, the wallet is used correctly.

So we can close this issue here, it's a missing dependency in Fedora, apparently.

Sorry for the noise and thanks to helping me figure this one out!
Comment 10 David Edmundson 2013-03-18 13:53:36 UTC
Not a problem. Thanks for your help getting to the bottom of this.