Created
October 16, 2018 13:11
-
-
Save soyfrien/330fa25f6c4369e624e3a975e9013c0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
systemctl stop smbd.service winbind.service nmbd.service | |
net cache flush | |
rm -rf /var/lib/samba/*.tdb | |
rm -rf /var/lib/samba/group_mapping.ldb | |
systemctl start smbd.service winbind.service nmbd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment