For anyone working on Samba4, watch out for the new talloc interface. It has changed quite a lot. Have a look at the talloc section of http://samba.org/ftp/unpacked/samba4/prog_guide.txt for information on what has changed. Major changes include: - talloc is now hierarchical - talloc now has destructors and reference counts Cheers, Tridge