Rename smbd_check_open_rights() to smbd_check_access_rights() as we're going to remov...