Bug 651027 - Cannot find username after a while - LDAP id
Cannot find username after a while - LDAP id
Product: Fedora
Classification: Fedora
Component: sssd (Show other bugs)
x86_64 Linux
low Severity high
: ---
: ---
Assigned To: Stephen Gallagher
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-11-08 12:09 EST by Paul Ezvan
Modified: 2011-04-08 08:14 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-04-08 08:14:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paul Ezvan 2010-11-08 12:09:50 EST
Description of problem:

I am currently using LDAP id with sssd. After a while the system cannot get my user name.

For exemple :
$ id
uid=1063 gid=100(users)

for another user :
$ id bruno
uid=1008(bruno) gid=100(users)

$ whoami
whoami: cannot find name for user ID 1063

/var/log/secure :
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):

sssd 1.4.0-2.fc14
openldap-clients 2.4.23-2.fc14

How reproducible:

- 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
Actual results:

id cannot get username
So ssh, gnome-screensaver, and many more are broken.
Comment 1 Ed Brand 2011-03-31 14:25:25 EDT
Changing component to sssd, this is not an issues with sslogger.

Comment 2 Stephen Gallagher 2011-03-31 14:36:31 EDT
Please upgrade to the latest version of SSSD available in Fedora 14. I suspect this is already fixed.
Comment 3 Stephen Gallagher 2011-04-04 13:01:36 EDT
Please confirm whether the problem is resolved by using sssd-1.5.4-1.fc14
Comment 4 Paul Ezvan 2011-04-08 03:34:00 EDT
The bug was caused by duplicate uids in LDAP database. These duplicates were removed so I cannot reproduce the bug anymore.

Note You need to log in before you can comment on or make changes to this bug.