/usr/local/samba/sbin/samba_spnupdate: ==17510==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. ../source4/dsdb/dns/dns_update.c:353: Failed SPN update - with error code 1 This may indicate a library ordering error in way during spnupdate's build process.
This looks like it affects other tools like samba-tool also: /usr/local/samba/bin/samba-tool --help ==17518==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
Of course - these are python, and they load libldb which has asan, but *after* python has already started. To make this work nicely use: ASAN_OPTIONS="symbolize=1 detect_leaks=0" LD_PRELOAD=/usr/lib64/libasan.so.4 /usr/local/samba/bin/samba-tool