This set of patches fixes issues preventing build samba with --disable-shared option, at least on Ubuntu 12.04. Patches contains: - dependency fixes, - remove/rename duplicated functions, - wscript for samba3 fix. Patches can be applied separately. Sorry for re-posting - newsgroup membership issue. Regards Andrzej