I just found that netr_LogonGetDomainInfo() with CSDVersion="" doesn't wipe the operatingSystemServicePack attribute.
This bug was referenced in samba master: 4a0a0d2fc9555dc8ff7692607b1d51189785bd47 1243f52f7ae58de1005c431e20563f2f1902dfce
Created attachment 17082 [details] git-am fix for 4.15.next and 4.14.next. Cherry-picked from master.
Comment on attachment 17082 [details] git-am fix for 4.15.next and 4.14.next. Applies cleanly to both.
Pushed to autobuild-v4-{15,14}-test.
This bug was referenced in samba v4-14-test: 09832c6f95ef1b57a75e419a3cca02f68fca4caa 01e15dfaedecfe80527475de1c5c60c5be8b8f4e
This bug was referenced in samba v4-15-test: a45cf13482921f16ce9be0be8030469866fa7df1 d123bc8be47fa56d7fee4b8214fc19bd0a35a6b2
Closing out bug report. Thanks!
This bug was referenced in samba v4-15-stable (Release samba-4.15.6): a45cf13482921f16ce9be0be8030469866fa7df1 d123bc8be47fa56d7fee4b8214fc19bd0a35a6b2
This bug was referenced in samba v4-14-stable (Release samba-4.14.13): 09832c6f95ef1b57a75e419a3cca02f68fca4caa 01e15dfaedecfe80527475de1c5c60c5be8b8f4e