For those that are interested: I've managed to build Samba 4 and get it running on a Apple Time Capsule https://github.com/jamesyc/TimeCapsuleSMB