winbind cache: Don't create SN cache entries during name-to-sid queries.
commitb58e4f6b3d73294d8448c0dff4341183c52e5b7c
authorKarolin Seeger <kseeger@samba.org>
Mon, 16 Jun 2008 13:21:28 +0000 (16 15:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 16 Jun 2008 13:21:28 +0000 (16 15:21 +0200)
treedcfaa57a2f8b7c8404277fb5d511d40a248b91cb
parent1f86c7a2a19e66948c9b51572d3c078b6e03ef52
winbind cache: Don't create SN cache entries during name-to-sid queries.

Clients can request name-to-sid queries for different combinations of
upper and lower case names. We don't want to create the reverse caching
entries for each combination used.

This avoids inconsistent answers on sid-to-name queries.

Please review!

Karolin
source/winbindd/winbindd_cache.c