Skip to content

Commit

Permalink
[samba] Capture test commands from wbinfo and net ads
Browse files Browse the repository at this point in the history
'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 <[email protected]>
  • Loading branch information
jcastill authored and arif-ali committed Feb 6, 2024
1 parent dea531f commit 480d3ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sos/report/plugins/samba.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
])


Expand Down

0 comments on commit 480d3ed

Please sign in to comment.