Clearly SAMBA needs plenty of patches to compile on OS X , these are noted at http://www.opensource.apple.com/darwinsource/10.3.6/samba-59/patches/ Perhaps these could be rolled into the SAMBA distribution at one point? Andrew