This bug was already reported in https://bugzilla.samba.org/show_bug.cgi?id=8269 and was fixed for 3.5 it seems. In 4.2.14 it's back again.. Also see https://bugzilla.samba.org/show_bug.cgi?id=8269#c4 in the old bug report.