On a W2k8r2 AD DC, which is initially replicating from a samba AD DC, this error can pop up in the Logs and the replication process stalls: [2025/09/05 11:42:44.459637, 1] ../../librpc/ndr/ndr.c:733(_ndr_pull_error) ndr_pull_uint32: ndr_pull_error(Buffer Size Error): Pull bytes 4 (../../librpc/ndr/ndr_basic.c:193) at ../../librpc/ndr/ndr_basic.c:193 Aanalyzing the to be replicated AD data showed, what caused this error, patch to follow.
https://gitlab.com/samba-team/samba/-/merge_requests/4516