Created attachment 8753 [details] Patch to fix this issue In the Ubuntu development release, samba4 fails to build. Error below. It looks like samba4kgetcred and samba4kpasswd should be explicitly linked against -lasn1, since they use object files from source4/heimdal that depend on it. Patch attached. [2834/3047] Linking default/source4/heimdal_build/samba4kgetcred /usr/bin/ld: default/source4/heimdal/kuser/kgetcred_7.o: undefined reference to symbol 'free_Ticket@@HEIMDAL_ASN1_1.0' /usr/bin/ld: note: 'free_Ticket@@HEIMDAL_ASN1_1.0' is defined in DSO /usr/lib/x86_64-linux-gnu/libasn1.so.8 so try adding it to the linker command line /usr/lib/x86_64-linux-gnu/libasn1.so.8: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status Waf: Leaving directory `/«BUILDDIR»/samba4-4.0.0+dfsg1/bin' Build failed: -> task failed (err #1): {task: cc_link print_version_2.o,version_2.o,kgetcred_7.o,replace_2.o,getpass_2.o -> samba4kgetcred} make[1]: *** [override_dh_auto_build] Error 1