diff --git a/src/middlewared/middlewared/plugins/account.py b/src/middlewared/middlewared/plugins/account.py index bf9e54e602895..549fa4f326b38 100644 --- a/src/middlewared/middlewared/plugins/account.py +++ b/src/middlewared/middlewared/plugins/account.py @@ -197,8 +197,6 @@ async def user_extend_context(self, rows, extra): group_roles = await self.middleware.call('group.query', [['local', '=', True]], {'select': ['id', 'roles']}) - server_sid = await self.middleware.call('smb.local_server_sid') - for i in res: uid = i['user']['id'] if uid in memberships: