Source ONLamp.com:

Samba Joining a Domain