Add bool use_privs parameter to smbd_check_access_rights()