Add an option for no samba logging

Ticket: #3755