This particular issue is long-fixed upstream, but if Windows 2012 FL is already in use, the will be other issues, as this isn't supported yet.
See https://bugzilla.samba.org/show_bug.cgi?id=13618 for better errors and https://bugzilla.samba.org/show_bug.cgi?id=13619 for actual 2012 FL support. Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions