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

O. Hartmann ohartman at web.de
Mon Mar 16 04:20:05 PDT 2009


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


More information about the freebsd-current mailing list