smbd: Add update_share_mode_lease_from_db()
authorVolker Lendecke <vl@samba.org>
Wed, 19 Sep 2018 08:25:31 +0000 (10:25 +0200)
committerChristof Schmitt <cs@samba.org>
Sun, 14 Apr 2019 04:01:32 +0000 (04:01 +0000)
commitfa2cea30917667e1f8f084c33cbbbd564f02e452
tree9a718ce34ebac52345332ffe7930ea495ceef96c
parent2ea2605e7002508aa952899fb8f81e4e62684767
smbd: Add update_share_mode_lease_from_db()

This is an interim function supposed to be around for just a few patches as
long as we have both the leases.tdb entries and the leases[] in
share_mode_entries around. It makes it easier to transition to just use
leases.tdb while keeping the code running.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/smbd/open.c
source3/smbd/proto.h