s3:gencache: Add support for user gencache
We have a customers who complains that with Samba 4.10 'net ads status' as a normal users queries all DC controllers to find the sitename instead of using the cache. The reason is that the code to open gencache read-only has been removed with 1386200b
@vlendec is there a reason that client tools should not read the cache read-only anymore? Is that patch fine or do we need to implement a read-only API for gencache? What is the correct way forward?
Edited by Andreas Schneider