There shouldn't be any local caching in lightdm, since it just calls getpwnam() to get the user information. To me that hints that perhaps /etc/passwd hasn't been completely written to disk by PAM with the new user at the point lightdm reads it via getpwnam(). I'm not sure if getpwnam() is reading /etc/passwd or accessing a service in your case however.
Can you confirm in your example that there is an entry in /etc/passwd for the "pim" user once lightdm fails to log it in? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237306 Title: lightdm + LDAP login intermitent fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1237306/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs