Customer was going to create a custom SharePoint property to import info from Active Directory but when they tried to setup the Directory portion they had no connections or attributes to select from. And saw this message
The selection of directory service properties is disabled because the portal is in an untrusted domain or no directory service import is configured yet.
This is in relation to SharePoint 2007 only.
We resolved it by doing the following
Run the following query against the Shared Services DB
select cast (ExtraConfiguration as xml) from dataservicelist
Review the XML and insure that the DC/GC are close enough (Ask your Directory Admin), change it to a hard coded DC if they recommend you change it thru Central Admin.
Also insure that the Search Base property is populated within the XML.
Some general rules to follow
Your default acccess account needs to be in the same domain as your servers.
Needs read access in Active Directory.
SharePoint and Directory Servers need to be in close proximity for things to work.