Fix samba home directories

Ticket: #4155