1
grep -ve "^[[:space:]]*[#;]\|^$\|^[[:space:]]*$" /etc/samba/smb.conf