Hello, apple does not use a reverse-engineered Samba. They use Samba plain and simple. It’s opensourced.
http://www.apple.com/server/macosx/windows_services.html