s3/utils: restore client share connection after call to sec_desc_parse
authorNoel Power <noel.power@suse.com>
Fri, 24 Jul 2020 14:32:11 +0000 (15:32 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 31 Aug 2020 17:44:38 +0000 (17:44 +0000)
commit5b04affc73f75d6b3e85eafb3fed0fe29c9c03db
tree8e0ece1946a2015c4752154dfa959aba8669c360
parent28719f3edc9dc3ba13c3cd5382b4fb04a30af260
s3/utils: restore client share connection after call to sec_desc_parse

This normally isn't a problem *except* for when the share is a dfs root
(which results in cli_resolve_patch creating an incorrect path)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/smbcacls.c