<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/117276/">https://git.reviewboard.kde.org/r/117276/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On April 1st, 2014, 8:31 a.m. UTC, <b>Kai Uwe Broulik</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
<thead>
<tr>
<th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
<a href="https://git.reviewboard.kde.org/r/117276/diff/1/?file=262163#file262163line47" style="color: black; font-weight: bold; text-decoration: underline;">plasma-workspace/ksmserver/screenlocker/greeter/themes/org.kde.passworddialog/contents/ui/Greeter.qml</a>
<span style="font-weight: normal;">
(Diff revision 1)
</span>
</th>
</tr>
</thead>
<tbody>
<tr>
<th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">47</font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "> <span class="nx">message</span><span class="p">.</span><span class="nx">text</span> <span class="o">=</span> <span class="nx">i18n</span><span class="p">(</span><span class="s2">"Unlocking failed"</span><span class="p">);</span></pre></td>
</tr>
</tbody>
</table>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Imho it should be possible to tell whether it failed due to credentials (wrong password) or the service is unavailable (eg. ldap/network error)</pre>
</blockquote>
<p>On April 1st, 2014, 9:37 a.m. UTC, <b>Martin Gräßlin</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">need to connect the messages which would hopefully tell it. I don't know whether kcheckpass provides this information.</pre>
</blockquote>
</blockquote>
<pre style="margin-left: 1em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">You might want to look at [kde-workspace KDE/4.11] ksmserver/screenlocker/greeter/greeter.cpp which triggers said message in gplugStart() and/or reapVerify()</pre>
<br />
<p>- Kai Uwe</p>
<br />
<p>On April 1st, 2014, 10:10 a.m. UTC, Martin Gräßlin wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Plasma and David Edmundson.</div>
<div>By Martin Gräßlin.</div>
<p style="color: grey;"><i>Updated April 1, 2014, 10:10 a.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
kde-workspace
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Add password checking to screenlocker
A new Authenticator item is introduced and exported to QML. It provides
a slot tryAuthenticate taking the password as a string. If invoked it
creates a KCheckPass object which handles the communication with the
kcheckpass binary to verify the password. If the authentication succeeded
the Authenticator emits a succeeded() signal, on failure a failed()
signal.
The authentication process is bound to a grace timer. While this timer is
active it's not possible to authenticate again. This state is exposed
with a Q_PROPERTY and used by the UI to disable the password field and
unlock button.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>plasma-workspace/ksmserver/config-ksmserver.h.cmake <span style="color: grey">(4b60c8c6713089db8c637827c44bb04c37a87abe)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/CMakeLists.txt <span style="color: grey">(53fe38b7452a179f5919e93585573038ea926d00)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/authenticator.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/authenticator.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/autotests/CMakeLists.txt <span style="color: grey">(PRE-CREATION)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/autotests/authenticatortest.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/autotests/fakekcheckpass.c <span style="color: grey">(PRE-CREATION)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/greeterapp.h <span style="color: grey">(7a84bb44bed1afd879b6a02bed1a6265f62cb508)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/greeterapp.cpp <span style="color: grey">(496c0128e6a240a0821848c054ed60e2c2730f04)</span></li>
<li>plasma-workspace/ksmserver/screenlocker/greeter/themes/org.kde.passworddialog/contents/ui/Greeter.qml <span style="color: grey">(7aa59f81f7257db9ed8306bf732b008036c64d95)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/117276/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>