<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Check if your ssh client is configured with
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">GSSAPIAuthentikation=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(in /etc/ssh/ssh_config)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">This is default in Ubuntu – you don’t write about your client
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Longina<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org]
<b>On Behalf Of </b>Johannes Ramm-Ericson<br>
<b>Sent:</b> 3. juli 2014 16:57<br>
<b>To:</b> sssd-users@lists.fedorahosted.org<br>
<b>Subject:</b> [SSSD-users] SSSD &amp; SSH on Ubuntu 14.04 - login failure<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi,<br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Apologies for any naively stated questions but I am having trouble getting SSSD, Active Directory and SSH to interact as I expect on an Ubuntu 14.04 server. To be quite honest; I am not even certain that SSSD
 is the problem anymore since I seem to have successfully authenticated, it's just that my SSH session is interrupted with :<br>
<br>
<br>
johannes@laplnxjohannes:~$ ssh&nbsp; johannes@bifrost-test<br>
Password: <br>
Write failed: Broken pipe<br>
<br>
<br>
Extract from /var/log/auth.log<br>
------------------------------------------<br>
Jul&nbsp; 3 14:49:58 bifrost-test sshd[10281]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=lichen user=johannes
<br>
Jul&nbsp; 3 14:49:58 bifrost-test sshd[10279]: Accepted keyboard-interactive/pam for johannes from 192.168.120.12 port 35886 ssh2
<br>
Jul&nbsp; 3 14:49:58 bifrost-test sshd[10279]: fatal: PAM: pam_setcred(): Failure setting user credentials<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">My /etc/nsswitch.conf<br>
--------------------------------<br>
passwd:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files sss<br>
group:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files sss<br>
shadow:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files sss<br>
<br>
hosts:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files dns<br>
networks:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files<br>
<br>
protocols:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db files<br>
services:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db files<br>
ethers:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db files<br>
rpc:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db files<br>
<br>
netgroup:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nis<br>
sudoers:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">/etc/pam.d/common-session:<br>
------------------------------------------<br>
session&nbsp;&nbsp;&nbsp; [default=1]&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pam_permit.so<br>
# here's the fallback if no module succeeds<br>
session&nbsp;&nbsp;&nbsp; requisite&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pam_deny.so<br>
# prime the stack with a positive return value if there isn't one already;<br>
# this avoids us returning an error just because nothing sets a success code<br>
# since the modules above will each just jump around<br>
session&nbsp;&nbsp;&nbsp; required&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pam_permit.so<br>
# The pam_umask module will set the umask according to the system default in<br>
# /etc/login.defs and user settings, solving the problem of different<br>
# umask settings with different shells, display managers, remote sessions etc.<br>
# See &quot;man pam_umask&quot;.<br>
session optional&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pam_umask.so<br>
# and here are more per-package modules (the &quot;Additional&quot; block)<br>
session&nbsp;&nbsp;&nbsp; required&nbsp;&nbsp;&nbsp; pam_unix.so <br>
session&nbsp;&nbsp;&nbsp; optional&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pam_sss.so<br>
# end of pam-auth-update config<br>
<br>
root@bifrost-test:/var/log/sssd# apt-cache policy sssd<br>
sssd:<br>
&nbsp; Installed: 1.11.5-1ubuntu3<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I have done my share of googling and only ended up with some very old - seemingly, irrelevant to my problem - page hits.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">So, I've turned to this mailing list in hope of finding someone who may have encountered similar issues. Any ideas or suggestions?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks and Best Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Johannes <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>