See https://gitlab.com/samba-team/samba/merge_requests/200 and https://lists.samba.org/archive/samba-technical/2019-January/131866.html