Not sure how to interpret this, but here is the result of the command:
krustynas# midclt call core.get_jobs '[["method", "=", "smb.synchronize_group_mappings"]]' | jq
[
{
"id": 22,
"method": "smb.synchronize_group_mappings",
"arguments": [],
"description": null,
"abortable": false,
"logs_path": null,
"logs_excerpt": null,
"progress": {
"percent": null,
"description": null,
"extra": null
},
"result": null,
"error": "'sid'",
"exception": "Traceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/middlewared/job.py\", line 382, in run\n await self.future\n File \"/usr/lib/python3/dist-packages/middlewared/job.py\", line 418, in __run_body\n rv = await self.method(*([self] + args))\n File \"/usr/lib/python3/dist-packages/middlewared/plugins/smb_/groupmap.py\", line 410, in synchronize_group_mappings\n await self.sync_foreign_groups()\n File \"/usr/lib/python3/dist-packages/middlewared/plugins/smb_/groupmap.py\", line 129, in sync_foreign_groups\n domain_sid = domain_info['sid']\nKeyError: 'sid'\n",
"exc_info": {
"type": "KeyError",
"extra": null
},
"state": "FAILED",
"time_started": {
"$date": 1630770140030
},
"time_finished": {
"$date": 1630770152936
}
}
]