[Samba] Safe to share information?
Jeff Sadowski
jeff.sadowski at gmail.com
Wed Apr 20 15:00:38 UTC 2016
Just a question of best things to hide for asking questions to the list?
I created the following aliases
alias remove_SIDs="sed
's/S-[0-9]*-[0-9]*-[0-9]*-[0-9]*-[0-9]*-[0-9]*-[0-9]*/S-X-X-X-X-X-X-X/g'"
alias remove_DOMAIN_INFO="sed 's/<MY_SUBDOMAIN>/SUBDOMAIN/g' |sed
's/<MY_DOMAIN>\.<MY_TOP_LEVEL_DOMAIN>/DOMAIN.TOP/g'"
and always pipe logs and configs through them before posting to the list.
like so
cat /etc/samba/smb.conf | remove_DOMAIN_INFO | less
and copy and paste like normal
cat /var/log/samba/winbindd.log | remove_DOMAIN_INFO | remove_SIDs | less
Just curious if I am going too far or not far enough? Any other stuff
people should be keeping confidential? Any recommendations?
More information about the samba
mailing list