Red Hat Bugzilla – Bug 651027
Cannot find username after a while - LDAP id
Last modified: 2011-04-08 08:14:43 EDT
Description of problem:
I am currently using LDAP id with sssd. After a while the system cannot get my user name.
For exemple :
for another user :
$ id bruno
whoami: cannot find name for user ID 1063
Nov 8 17:43:37 hera su: pam_succeed_if(su-l:account): error retrieving information about user 1063
Nov 8 17:43:37 hera su: pam_succeed_if(su-l:session): error retrieving information about user 1063
Nov 8 17:43:37 hera su: pam_unix(su-l:session): session opened for user root by paul(uid=1063)
Nov 8 17:43:37 hera su: pam_xauth(su-l:session): error determining invoking user's name
Nov 8 18:00:23 hera login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Nov 8 18:00:23 hera login: ROOT LOGIN ON tty2
Nov 8 18:01:17 hera sudo: 1063 : unknown uid: 1063 ; TTY=pts/1 ; PWD=unknown ; COMMAND=tail
Version-Release number of selected component (if applicable):
- each time after a while
Steps to Reproduce:
1. Configure sssd to use LDAP for id
2. Stay logged with one user session a while
id cannot get username
So ssh, gnome-screensaver, and many more are broken.
Changing component to sssd, this is not an issues with sslogger.
Please upgrade to the latest version of SSSD available in Fedora 14. I suspect this is already fixed.
Please confirm whether the problem is resolved by using sssd-1.5.4-1.fc14
The bug was caused by duplicate uids in LDAP database. These duplicates were removed so I cannot reproduce the bug anymore.