Налаштовую аутентифікацію на сервері через WinBind користувачів ActiveDirectory. На Samba нормально АД-користувачі логіняться, SSH "кричить" в логах -
Dec 1 11:36:19 linux02-test sshd[22237]: error: Could not get shadow information for mytest
Dec 1 11:36:19 linux02-test sshd[22237]: Failed password for MyDomain\mytest from ***.***.***.*** port 1852 ssh2
[root@linux-test /]# cat /etc/pam.d/system-auth
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok
auth sufficient pam_winbind.so use_first_pass
auth required pam_deny.so
account required pam_unix.so
account sufficient pam_succeed_if.so uid < 100 quiet
account sufficient pam_winbind.so use_first_pass
account required pam_permit.so
password required pam_cracklib.so retry=3 type=
password sufficient pam_unix.so nullok use_authtok md5 shadow
password sufficient pam_winbind.so use_first_pass
password required pam_deny.so
#session required pam_limits.so
session required pam_unix.so
session required pam_winbind.so use_first_pass
session required pam_mkhomedir.so
[root@linux-test /]# cat /etc/pam.d/samba
#%PAM-1.0
auth required pam_nologin.so
auth include system-auth
account include system-auth
session include system-auth
password include system-auth
[root@linux-test /]# cat /etc/pam.d/ssh
#%PAM-1.0
auth required pam_nologin.so
auth include system-auth
account include system-auth
session include system-auth
password include system-auth