1. Configure SharePoint Central Admin
2.Update the web.config of SharePoint Central admin site
under <configuration> node
<connectionStrings><add name="ADConnectionString" connectionString="LDAP://DynamicsAX.local/CN=Users,DC=DynamicsAX,DC=local /></connectionStrings>
under <system.web> node
<membership defaultProvider="ADMembershipProvider"><providers><add name="ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionUsername="xxx" connectionPassword="yyy" enableSearchMethods="true" attributeMapUsername="sAMAccountName"/></providers></membership>
replace the connectionstring to the one matching your encvironment and replace"xxx" with domainname\username and "yyy" with password
3.Update the web.config of SharePoint Web application
For more detailshttp://technet2.microsoft.com/Office/en-us/library/23b837d1-15d9-4621-aa0b-9ce3f1c7153e1033.mspx?mfr=truehttp://msdn2.microsoft.com/en-us/library/ms998360.aspx