There is a use-after-free in the replication of schema entries, if the schema changes and is reloaded.
Fixed in Samba 4.5 with commit 1a87c9b5994662de8bcd7c080dafb792dedb9f46