samba: fix isAuthorizedSharePath method