Mar 16 10:41:41 thusnelda kernel: Mar 16 10:41:41 thusnelda sshd[19231]: fatal: login_get_lastlog: Cannot find account for uid XXX

From: O. Hartmann <ohartman_at_web.de>
Date: Mon, 16 Mar 2009 10:47:16 +0000
After updating the LDAP server from OpenLDAP 2.4.14/db46 to 2.4.15/db47 
I receive on an attached client the following message when trying to log 
in via ssh:

Mar 16 10:41:41 thusnelda kernel: Mar 16 10:41:41 thusnelda sshd[19231]: 
fatal: login_get_lastlog: Cannot find account for uid

I'm able to su - to the specific, by ssh blocked user which is kept in 
LDAP database.

I'm a little bit worried, since I also updated OpenLDAP 2.4.14 on the 
client to OpenLDAP 2.4.15 and did so with nss_ldap and pam_ldap.

Searching for IDs on the client which are kept in the LDAP database 
performs well. Also a authetication of users accessing webpages secured 
via authentication through LDAP (lighttpd) works well with the LDAP 
server in question. But no ssh-login works!
I checked the sshd_config file in /etc/ssh but it hasn't been changed, 
so I guess there is possibly another issue.

Any hints or tips are appreciated,


regards and thanks in advance,

Oliver
Received on Mon Mar 16 2009 - 10:19:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC