<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>182623</bug_id>
          
          <creation_ts>2009-01-31 20:29:27 +0000</creation_ts>
          <short_desc>kdm doesn&apos;t obey PAM Application Developers Guide</short_desc>
          <delta_ts>2014-01-17 11:49:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdm</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>105631</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wolfgang Ullrich">w.ullrich</reporter>
          <assigned_to name="kdm bugs tracker">kdm-bugs-null</assigned_to>
          <cc>marc.collin</cc>
    
    <cc>mstl</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>414</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>708772</commentid>
    <comment_count>0</comment_count>
    <who name="Wolfgang Ullrich">w.ullrich</who>
    <bug_when>2009-01-31 20:29:27 +0000</bug_when>
    <thetext>Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

While user login kdm calls &quot;pam_authenticate&quot; _after_ prompting the user for name and/or password which contradicts the recommendation of the documentation (PAM ADG). It reads in chapter 2: &quot;It is important to note that the application must leave all decisions about when to prompt the user at the discretion of the PAM library.&quot;

The current implemetation of kdm first prompts the user for his name and in some cases for his password and then it calls &quot;pam_authenticate&quot;. This makes it impossible to use alternate authentication methods like smart cards or biometric processes to identify and/or authenticate a user.

The correct behavior would be to first call pam_authenticate and then await a callback from PAM&apos;s &quot;conversation function&quot; in case a &quot;normal&quot; authentication by keyboard is configured. That would make e.g. fingerprint login by PAM modules like &quot;Fingerprint GUI&quot; make possible in the same way they work with gdm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>708775</commentid>
    <comment_count>1</comment_count>
    <who name="Wolfgang Ullrich">w.ullrich</who>
    <bug_when>2009-01-31 20:38:18 +0000</bug_when>
    <thetext>The same behavior has been seen from kscreensaver.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>710207</commentid>
    <comment_count>2</comment_count>
    <who name="Oswald Buddenhagen">ossi</who>
    <bug_when>2009-02-02 20:17:46 +0000</bug_when>
    <thetext>doesn&apos;t look like it at first sight, but it *is* the same ...

*** This bug has been marked as a duplicate of bug 105631 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>994404</commentid>
    <comment_count>3</comment_count>
    <who name="Dan Gherman">thereallove</who>
    <bug_when>2010-07-26 19:12:40 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369788</commentid>
    <comment_count>4</comment_count>
    <who name="Marc Collin">marc.collin</who>
    <bug_when>2013-05-19 10:49:54 +0000</bug_when>
    <thetext>i confirm it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425361</commentid>
    <comment_count>5</comment_count>
    <who name="">mstl</who>
    <bug_when>2014-01-17 11:49:07 +0000</bug_when>
    <thetext>Please fix that problem. We are waiting for a long time now. If I can help -&gt; let me know!

tx in advance!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>