Fix allocation of conn->vuid_cache entries
authorVolker Lendecke <vl@samba.org>
Mon, 5 May 2008 12:43:57 +0000 (14:43 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 May 2008 12:46:03 +0000 (14:46 +0200)
commit8dd53811d57da9a079f81e1f742f803131239b09
tree7ffadaf3b1b3217a064d063682eb2bf2fc35477b
parent768c0d6b22f85ff9fe34922e30a822c69e1d5bd7
Fix allocation of conn->vuid_cache entries

With the old code, if more than VUID_CACHE_SIZE elements were used all new
entries ended up in slot 0. With this checkin we do cycle.

Jeremy, please revert if the old behaviour was intentional
(This used to be commit 50c891d3dfb75c9f607f7ad2a578aa3ba5d91988)
source3/smbd/uid.c