-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reusing UID causes both old and new user to appear in the cache #15
Comments
Comment #1 originally posted by jaqx0r on 2008-09-15T22:41:04.000Z: I should note that this doesn't occur if I use the --full switch for "nsscache update". Of course, even in |
Comment #2 originally posted by jaqx0r on 2009-01-09T00:11:34.000Z: As Kamil suggested in my discussion thread from yesterday, it appears I'm suffering Running 0.8.3 on RHEL5. Source is OpenLDAP 2.3.27 on RHEL5. |
Comment #3 originally posted by jaqx0r on 2009-01-11T19:20:16.000Z: it sounds like this is the case. furthermore since our data maps are stored we could introduce something to catch this, but on an incremental update how would we but this could lead to flip-flopping if the source database actually has conflicting all in all, I think this better handled by a clear note in a README or caveat or thoughts? |
Comment #4 originally posted by jaqx0r on 2009-01-12T17:27:56.000Z: Good point. The uid is the key in the LDAP database, so it makes sense to key the map on that. I don't think there's any sense in coding around it, but perhaps nsscache could write a warning to stderr if a |
Comment #5 originally posted by jaqx0r on 2014-04-30T13:52:57.000Z: Technically the DN is the key in the LDAP database, not the UID. I'm adding a warning if a duplicate key is detected, but this will only warn for duplicate nsscache keys, in this case the username, not the UID. |
Comment #6 originally posted by jaqx0r on 2014-04-30T13:58:19.000Z: This issue was closed by revision c4dc48115972. |
Original issue 14 created by jaqx0r on 2008-09-15T22:19:41.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Only the new user should appear. However, "getent passwd" will show both users, with the same
UID. I confirmed that deleting the cache and regenerating it from scratch gets rid of the old entry.
What version of the product are you using? On what operating system?
0.8.0 on Gentoo Linux. Apple's Open Directory on OS X 10.5
The text was updated successfully, but these errors were encountered: