почти заработало.
в nss_ldap.conf неправильно ip сервака неправильно ввел.
теперь пароль не проглатывает , в логах :
Код: Выделить всё
SA-WS1# more /var/log/auth.log
May 25 08:19:03 SA-WS1 sshd[12853]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:19:03 SA-WS1 sshd[12851]: error: PAM: authentication error for nimdas from freedomain.dst.ural
May 25 08:19:10 SA-WS1 sshd[12854]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:19:10 SA-WS1 sshd[12851]: error: PAM: authentication error for nimdas from freedomain.dst.ural
May 25 08:19:27 SA-WS1 sshd[12855]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:19:27 SA-WS1 sshd[12851]: error: PAM: authentication error for nimdas from freedomain.dst.ural
May 25 08:19:55 SA-WS1 sshd[12859]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:19:55 SA-WS1 sshd[12857]: error: PAM: authentication error for nimdas from localhost
May 25 08:20:02 SA-WS1 sshd[12860]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:20:02 SA-WS1 sshd[12857]: error: PAM: authentication error for nimdas from localhost
May 25 08:20:08 SA-WS1 sshd[12857]: error: PAM: authentication error for nimdas from localhost
May 25 08:22:33 SA-WS1 sshd[12882]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:22:33 SA-WS1 sshd[12880]: error: PAM: authentication error for nimdas from localhost
May 25 08:22:43 SA-WS1 sshd[12883]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:22:43 SA-WS1 sshd[12880]: error: PAM: authentication error for nimdas from localhost
May 25 08:22:55 SA-WS1 sshd[12884]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:22:55 SA-WS1 sshd[12880]: error: PAM: authentication error for nimdas from localhost
May 25 08:36:12 SA-WS1 su: dimas to root on /dev/ttyp1
May 25 08:39:02 SA-WS1 sshd[12754]: Received signal 15; terminating.
May 25 08:39:02 SA-WS1 sshd[12960]: Server listening on :: port 22.
May 25 08:39:02 SA-WS1 sshd[12960]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
May 25 08:39:25 SA-WS1 sshd[12964]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:39:25 SA-WS1 sshd[12962]: error: PAM: authentication error for nimdas from localhost
May 25 08:39:34 SA-WS1 sshd[12965]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:39:34 SA-WS1 sshd[12962]: error: PAM: authentication error for nimdas from localhost
May 25 08:39:34 SA-WS1 sshd[12962]: Failed keyboard-interactive/pam for nimdas from 127.0.0.1 port 59276 ssh2
May 25 08:39:42 SA-WS1 sshd[12966]: pam_ldap: error trying to bind as user "uid=nimdas,ou=users,dc=dst,dc=ural" (Invalid credentials)
May 25 08:39:42 SA-WS1 sshd[12962]: error: PAM: authentication error for nimdas from localhost
May 25 08:39:42 SA-WS1 sshd[12962]: Failed keyboard-interactive/pam for nimdas from 127.0.0.1 port 59276 ssh2