Skip to content

Commit

Permalink
Make CA check optional in fix_samba.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed May 10, 2024
1 parent c234902 commit e76228b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions samba/fix_samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ echo "Samba configuration:"
testparm --suppress-prompt
echo "Updating group policies."
samba-gpupdate --rsop
echo "CAs:"
getcert list-cas
if command -v getcert &> /dev/null; then
echo "CAs:"
getcert list-cas
else
echo "Certmonger was not found."
fi
echo "Certificates:"
ls /var/lib/samba/certs
echo "Winbindd ping:"
Expand Down

0 comments on commit e76228b

Please sign in to comment.