smbd: Use share_mode_forall_entries() in vfs_default_durable_reconnect()
authorVolker Lendecke <vl@samba.org>
Fri, 23 Aug 2019 12:30:07 +0000 (14:30 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 17 Sep 2019 22:49:38 +0000 (22:49 +0000)
commit2d9bb67d25181eba79b95df661e5a5d613b4a850
treed32e4039f30e5f475513e4e9affd53eb4b91f7e4
parentb3473efa9d3ab7ccd364ab29a3e93e900b5a49e2
smbd: Use share_mode_forall_entries() in vfs_default_durable_reconnect()

The durable reconnect mainly has to check that there is one and only one
entry, and it has to reset it with the new values.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/durable.c