The Samba-Bugzilla – Bug 13182
Cannot remove Workstation Logon Restrictions (Log On To) - net sam set worktations
Last modified: 2017-12-12 06:20:40 UTC
"net sam set workstations" fails to remove all entries to allow a user to logon to all systems.
It worked in a Samba3 PDC environment by using a null value or "" (can't remember which) such as:
net sam set workstations ""
The above appears to work but the entries are unchanged.
The entries can be edited but one can no longer remove all entries.
Very problematic since Powershell cannot be used for editing hundreds of users because Samba4 does not support web services.