Manging SMB file locks, issues, and help

How do you close SMB file locks in truenas scale? The web portal list locks but does not appear to allow removing or managing locks.

There is currently a glitch with the settings for the SMB service settings page that does not allow me to edit the SMB group administrator when my Truenas server is connected to active directory. The workgroup field gives a warning about being changed
“This parameter may not be changed after joining Active Directory (AD). If it must be changed, the proper procedure is to leave the AD domain and then alter the parameter before re-joining the domain.”
This blocks me from changing any other settings in the menu. I have not been successful finding the CLI method for changing the group administrator setting.

If I was able to change this setting I would be able to manage the open files via windows MMC console with the shared folders snap in.

It sounds like you need an Enterprise appliance and Enterprise support…

Otherwise, follow the directions.

It might be that the webui is trying to change the workgroup (that’d be most sensible reason for problem).

midclt call smb.update '{"admin_group": <group name>}'

This feature will allow using “computer management” on Windows to view open files. That said, you should probably figure out which client is misbehaving and why.