Comment 14 for bug 929888

Revision history for this message
In , Jan (jan-redhat-bugs) wrote :

I'm pretty much hopeless on this one. I attached a log where I got the expected result from openldap; that means after running 'getent passwd <email address hidden>', sssd contacted ldap and retrieved the info. What I don't understand is why there is that 'ldap_result gave -1' at the end of the log. I removed the cache files before running the command.

Anyone from sssd team willing to give a hint on what might have gone wrong?

It looks like some kind of a weird race condition to me.
This is how I test it:
1. start slapd (no nonstandard configuration + minimal tree to get the result)
2. (re)start slapd -d 10 -i
3. getent passwd <email address hidden>
4. rm -rf /var/lib/sss/db/*
5. goto 2.

At some point, step 3 prints the expected result.