I’m working on a custom LDAP query to import my users into my profile database. After having some issues, and then checking & testing my query against a recent article by Wayne Hall on Mindsharpblogs.com (MindsharpBlogs.com/.../497.aspx), I’m a little stumped.
Our company has a standardized login for employees, and contractors into our AD… basically a 1 or 2 character prefix followed by some digits. Using a custom LDAP query, this will help me rid the profile database of resources, groups, and other accounts within AD that I’m not interested in.
When I run my query using the command line LDIFDE utility, it works just fine and as expected (logged in with my AD account… also works fine when I login using the account that is set to access AD). However, when I enter the query in the Manage Connections page, I get the following error in the gatherer:
6/17/2005 7:20:00 AM Modify spsimport://[OUR DB SERVER]
The address could not be found, (0x80070005 - Access is denied. ) Access was denied on domain: ([OURDOMAIN]), and user information from the domain was not imported. Check the user name and password of the access account specified on the Configure Profile Import page. If incremental import is enabled and you are importing from a Windows 2000 domain, check that the access account has the Replicate Changes permission for Active Directory directory services.
What has me confused is I’m positive the SharePoint service account I’m using has access to query AD (as it runs just fine when I do a full import without using a custom source). Not sure where to look… AD, SharePoint… or where to find more info (no luck searching the SPS NNTP group or MSFT Support). Ideas?