libmsrpc.so, rid.so and ad.so don't resolve the external reference until runtime (-G option) and then fail miserably when unable to find _talloc_zero reference.
Created attachment 2407 [details]
Fix Makefile.in talloc dependencies.
Fix for ad.so, rid.so and libmsrpc.so missing talloc references.
Samba's build system has changed to waf so autoconf/makefile issues are no longer valid in supported versions.