Bug 167431 - RDP login should recognise Active Directory username and store password within kwallet *once only*
Summary: RDP login should recognise Active Directory username and store password withi...
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 15:51 UTC by Brendan Hide
Modified: 2008-09-07 15:38 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 Brendan Hide 2008-07-25 15:51:10 UTC
Version:            (using KDE 4.0.98)
Installed from:    Compiled From Sources
Compiler:          gcc on Archlinux, x86_64 default settings, no customisations
OS:                Linux

When logging into remote Windows systems using an Active Directory username and password, having the same username and password stored many times for each server within kwallet is superfluous.

If krdc can recognise that you are using an AD login (the username will have a "domain-name\" prefixed), it will save the potential stress of having to re-type and save the AD login on every server ever connected to. As well, it will potentially save even more stress if the AD login password is updated. You will only need to update 1 password in the kwallet instead of for every server you regularly log into.

Along with bug http://bugs.kde.org/show_bug.cgi?id=167429, could potentially increase krdc's UI efficiency tremendously.
Comment 1 Urs Wolfer 2008-07-25 22:13:58 UTC
Maybe KRDC should ask if it thinks it's an AD login. Otherwise there may happen unwanted logins if it is not a AD login, but it still contains a backslash (is this possible at all?).
Comment 2 Brendan Hide 2008-07-27 15:05:45 UTC
I'm trying to confirm if an RDP login can have a backslash sans LDAP.

An automatically-updated though user-configurable "Remember as LDAP login [ ]" checkbox next to or under the username field might work nicely.
Comment 3 Brendan Hide 2008-07-27 15:09:57 UTC
Maybe "remember" isn't quite the right word. Perhaps just "LDAP login [ ]". ;)
Comment 4 Brendan Hide 2008-07-28 12:02:40 UTC
The "\" character is an illegal character in the username, domain, and hostname. The only use case for the "\" in the login where it isn't AD/LDAP-related is where the "domain" in "domain\user" is the server's *local* hostname.

To alleviate concern for end-users that don't like automatic detection of this setting, it might be a good idea to have an option to disable LDAP login detection.
Comment 5 Urs Wolfer 2008-07-28 18:48:50 UTC
Thanks for your investigation. Expect this feature in one of the next releases of KRDC :)
Comment 6 Urs Wolfer 2008-09-07 15:38:36 UTC
SVN commit 858154 by uwolfer:

Greatly improve experience for LDAP (e.g. MS Active Directory) administrators.
Save passwords per LDAP login, not host. This way all hosts with the same login name use the same passwords (and changing the password affects all hosts with the same login name).
Also add possibilty to set a default login name for RDP.

FEATURE:167431
FEATURE:167429

 M  +0 -7      config/general.ui
 M  +6 -3      config/krdc.kcfg
 M  +2 -0      rdp/rdphostpreferences.cpp
 M  +40 -3     rdp/rdppreferences.ui
 M  +10 -8     rdp/rdpview.cpp
 M  +22 -10    remoteview.cpp
 M  +2 -2      remoteview.h