diff options
-rw-r--r-- | sos/plugins/samba.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/samba.py b/sos/plugins/samba.py index 36cc9ded..e57546e6 100644 --- a/sos/plugins/samba.py +++ b/sos/plugins/samba.py @@ -43,6 +43,9 @@ class Samba(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_copy_spec_limit("/var/log/samba/log.wb-*", sizelimit=self.limit) + if self.get_option("all_logs"): + self.add_copy_spec_limit("/var/log/samba/", sizelimit=self.limit) + self.add_cmd_output([ "wbinfo --domain='.' -g", "wbinfo --domain='.' -u", |