In 2016 I made a post to this list describing a method that I have been using. So far, it hasn't failed me. https://lists.samba.org/archive/samba/2016-April/199399.html