<div dir="ltr">Hi,<br><br clear="all"><div>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 johannes@bifrost-test<br>Password: <br>Write failed: Broken pipe<br><br><br>Extract from /var/log/auth.log<br>------------------------------------------<br>Jul 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 3 14:49:58 bifrost-test sshd[10279]: Accepted keyboard-interactive/pam for johannes from 192.168.120.12 port 35886 ssh2
<br>Jul 3 14:49:58 bifrost-test sshd[10279]: fatal: PAM: pam_setcred(): Failure setting user credentials<br><br></div><div>My /etc/nsswitch.conf<br>--------------------------------<br>passwd: files sss<br>group: files sss<br>
shadow: files sss<br><br>hosts: files dns<br>networks: files<br><br>protocols: db files<br>services: db files<br>ethers: db files<br>rpc: db files<br><br>netgroup: nis<br>
sudoers: files<br></div><div><br></div><div>/etc/pam.d/common-session:<br>------------------------------------------<br>session [default=1] pam_permit.so<br># here's the fallback if no module succeeds<br>
session requisite 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 required 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 "man pam_umask".<br>session optional pam_umask.so<br># and here are more per-package modules (the "Additional" block)<br>session required pam_unix.so <br>session optional 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> Installed: 1.11.5-1ubuntu3<br><br><br></div><div>I have done my share of googling and only ended up with some very old - seemingly, irrelevant to my problem - page hits.<br>
</div><div>So, I've turned to this mailing list in hope of finding someone who may have encountered similar issues. Any ideas or suggestions?<br><br></div><div>Thanks and Best Regards,<br></div><div>Johannes <br></div>
<div><br>
</div></div>