Log level 5 will show, during replication, secret values like unicodePwd in the clear.
Pushed to v4-7-test
Fixed in master with dc48fa982251292a0d46d701c6e912620caf7c72 and in Samba 4.7 with 66de4c1947aa2f4a20c02c65a4b9d0635f947467.
*** Bug 12989 has been marked as a duplicate of this bug. ***