From 480d3ed217fa0b4e58270fdf34348671182d2bdd Mon Sep 17 00:00:00 2001 From: Jose Castillo Date: Thu, 1 Feb 2024 15:48:51 +0000 Subject: [PATCH] [samba] Capture test commands from wbinfo and net ads 'wbinfo -t/--check-secret' is one of the basic commands to check if the trust secret for domain is still valid. 'net ads testjoin' is used to check if participation in a domain is still valid. Related: #RHEL-23665 Signed-off-by: Jose Castillo --- sos/report/plugins/samba.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/report/plugins/samba.py b/sos/report/plugins/samba.py index 6c57cf9320..c1bef275d6 100644 --- a/sos/report/plugins/samba.py +++ b/sos/report/plugins/samba.py @@ -38,8 +38,10 @@ def setup(self): "wbinfo --domain='.' --domain-users", "wbinfo --domain='.' --domain-groups", "wbinfo --trusted-domains --verbose", + "wbinfo --check-secret", "net primarytrust dumpinfo", "net ads info", + "net ads testjoin", ])