aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Castillo <jcastillo@redhat.com>2024-04-01 08:09:32 +0100
committerArif Ali <arif-ali@users.noreply.github.com>2024-04-02 11:47:35 +0100
commit701406ce4544860169fd7972af4f63b2e10c651b (patch)
tree132b80b13011322b27e4d30e4e4887d4190b8206
parentb9a3ca69f86434ef2749e3e9d630a8c8138c8578 (diff)
downloadsos-701406ce4544860169fd7972af4f63b2e10c651b.tar.gz
[samba] Capture wbinfo --online-status
Capturing this command output can help find the domain status, specially in these cases where having multiple domains in the same forest/cross forest, or in cases where there is sssd and samba_winbind. This output complements that of 'net ads testjoin'. Related: RH: RHEL-30958 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
-rw-r--r--sos/report/plugins/samba.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/samba.py b/sos/report/plugins/samba.py
index 73796500..70edc138 100644
--- a/sos/report/plugins/samba.py
+++ b/sos/report/plugins/samba.py
@@ -39,6 +39,7 @@ class Samba(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"wbinfo --domain='.' --domain-groups",
"wbinfo --trusted-domains --verbose",
"wbinfo --check-secret",
+ "wbinfo --online-status",
"net primarytrust dumpinfo",
"net ads info",
"net ads testjoin",