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
select cast (ExtraConfiguration as xml) from dataservicelist
Some general rules to follow