s3: smbd: Add call to conn_setup_case_options() to create_conn_struct_as_root().
commit50c2ea410b4acd5a311d3509c2554ae8e035dd1c
authorJeremy Allison <jra@samba.org>
Tue, 12 Jan 2021 19:44:44 +0000 (12 11:44 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 Jan 2021 11:29:51 +0000 (20 11:29 +0000)
treede26d7255baa73f2c69ff9805b6f8cca682b7762
parentd89ccfc1c7d23b6e2a3bc80c1acd189000ca7cbd
s3: smbd: Add call to conn_setup_case_options() to create_conn_struct_as_root().

Ensures temporary DFS share doesn't leave the case parameters set
as zero (i.e.:

conn->case sensitive = 0
conn->share_case_preserve = 0
and default case is lower

which can cause problems doing a DFS_GET_REFERRALS request).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14612

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Wed Jan 13 18:14:31 UTC 2021 on sn-devel-184

(cherry picked from commit 39ce73321093a0a5e25f574d0d32d7f88892de46)

Autobuild-User(v4-12-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-12-test): Wed Jan 20 11:29:51 UTC 2021 on sn-devel-184
source3/smbd/msdfs.c