s3: smbd: Remove bool dfs_pathnames paramter from resolve_dfspath_wcard().
authorJeremy Allison <jra@samba.org>
Thu, 18 May 2017 18:34:33 +0000 (11:34 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 22 May 2017 16:41:15 +0000 (18:41 +0200)
commit2647eedb6151a0e06b62412ff5485fe7a83b7279
tree379ed139c5cfcc45b4e88e96014c0e1c7c88658b
parent27324112b61039126799d76a33a2883747f01267
s3: smbd: Remove bool dfs_pathnames paramter from resolve_dfspath_wcard().

Start cleaning up the pathname parsing to move flags2 checks into UCF_FLAGS
function.

NB. This now only sets *ppath_contains_wcard inside resolve_dfspath_wcard()
if dfs_redirect() sets path_contains_wcard to true, which is a change
from the previous code which could potentially set *ppath_contains_wcard
to an uninitialized value if dfs_redirect() returned without setting
path_contains_wcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/smbd/filename.c
source3/smbd/msdfs.c
source3/smbd/proto.h
source3/smbd/trans2.c