Fix allocation of conn->vuid_cache entries
commit50c891d3dfb75c9f607f7ad2a578aa3ba5d91988
authorVolker Lendecke <vl@samba.org>
Mon, 5 May 2008 12:43:57 +0000 (5 14:43 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 May 2008 12:46:03 +0000 (5 14:46 +0200)
treed7a90992059dfe51078d8a0b605310ab559c05eb
parent1b1614c3261e1e93a2cad1f1063e28cbbb13f434
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
source/smbd/uid.c