http://www.twistedmac.com/index.php?option=com_content&view=article&id=549:fixsolution-for-using-mac-os-x-with-ad-authentication&catid=50:twisted-tips-a-articles