s3: smbd: Share modes should not use the generic memcache.

Create a separate, non-size-limited memcache cache for
share modes. They must not be evicted from the cache
(which they could be from the generic cache) if
the cache gets full, this leads to smbd crashes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13871

Signed-off-by: Jeremy Allison <jra@samba.org>
23 jobs for memcache-sharemode-test in 52 minutes and 46 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build
passed #187104591
docker shared
ctdb

00:43:30

passed #187104565
docker shared
others

00:12:08

passed #187104567
docker shared
samba

00:22:07

passed #187104595
docker private
samba-ad-dc-1

00:39:54

passed #187104579
docker shared
samba-ad-dc-2

00:51:37

passed #187104582
docker shared
samba-ad-dc-3

00:41:21

passed #187104584
docker shared
samba-ad-dc-4

00:45:42

passed #187104585
docker shared
samba-ad-dc-5

00:38:55

passed #187104587
docker shared
samba-ad-dc-6

00:35:53

passed #187104588
docker shared
samba-ad-dc-backup

00:41:24

passed #187104593
docker shared
samba-ad-dc-ntvfs

00:38:10

passed #187104576
docker shared
samba-ad-member

00:23:17

passed #187104592
docker shared
samba-ctdb

00:17:43

passed #187104594
docker private
samba-fileserver

00:23:29

passed #187104589
docker shared
samba-libs

00:34:29

passed #187104568
docker shared
samba-none-env

00:52:42

passed #187104569
docker shared
samba-nopython

00:30:45

passed #187104570
docker shared
samba-nopython-py2

00:38:05

passed #187104596
docker private
samba-nt4

00:37:48

passed #187104574
docker shared
samba-o3

00:34:00

passed #187104590
docker shared
samba-static

00:42:28

passed #187104571
docker shared
samba-systemkrb5

00:15:25

passed #187104572
docker shared
samba-xc

00:04:57