diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-03-20 17:24:26 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-21 12:54:13 +0000 |
commit | 4567f8e5386f32135d75e1dcd9b7dc704c81c948 (patch) | |
tree | 225bed83aeb739182e158d7c41beabb2ae0d59f5 | |
parent | 21791dd2c68c0befe30c4b6614b57beb985439ca (diff) | |
download | sos-4567f8e5386f32135d75e1dcd9b7dc704c81c948.tar.gz |
[samba] Use verbose names and get testparm output first
Related: #1602
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/samba.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/samba.py b/sos/plugins/samba.py index c1e9eb75..fbf49bf0 100644 --- a/sos/plugins/samba.py +++ b/sos/plugins/samba.py @@ -34,10 +34,10 @@ class Samba(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_copy_spec("/var/log/samba/") self.add_cmd_output([ - "wbinfo --domain='.' -g", - "wbinfo --domain='.' -u", - "wbinfo --trusted-domains --verbose", "testparm -s", + "wbinfo --domain='.' --domain-users", + "wbinfo --domain='.' --domain-groups", + "wbinfo --trusted-domains --verbose", ]) |