diff options
author | Jeremy Allison <jra@samba.org> | 2021-01-12 11:44:44 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2021-01-20 10:27:02 +0000 |
commit | 4e48d658f8d750c350ebbf33314323a9a9ee1ebc (patch) | |
tree | 5ec7dbb53ca7a12d69a1f39f1ab6a13faea69cc5 /source3 | |
parent | d13354f08f573251f32e532166b3e5808ebdc634 (diff) | |
download | samba-4e48d658f8d750c350ebbf33314323a9a9ee1ebc.tar.gz |
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-13-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-13-test): Wed Jan 20 10:27:02 UTC 2021 on sn-devel-184
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/msdfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 2c31e2b960a..9e1127c339c 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -318,6 +318,8 @@ static NTSTATUS create_conn_struct_as_root(TALLOC_CTX *ctx, vfs_user = get_current_username(); } + conn_setup_case_options(conn); + set_conn_connectpath(conn, connpath); /* |