CVE-2022-38023 s3:net: add and use net_warn_member_options() helper
authorStefan Metzmacher <metze@samba.org>
Wed, 30 Nov 2022 15:16:05 +0000 (16:16 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2022 13:07:29 +0000 (13:07 +0000)
commit1fdf1d55a5dd550bdb16d037b5dc995c33c1a67a
tree50ebf6fcbba5b0cac0348090733f209feaecff2f
parent7e7adf86e59e8a673fbe87de46cef0d62221e800
CVE-2022-38023 s3:net: add and use net_warn_member_options() helper

This makes sure domain member related 'net' commands print warnings
about unsecure smb.conf options.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/net.c
source3/utils/net_ads.c
source3/utils/net_dom.c
source3/utils/net_join.c
source3/utils/net_offlinejoin.c
source3/utils/net_proto.h
source3/utils/net_rpc.c
source3/utils/net_util.c