When you deploy Microsoft SharePoint Server 2007 in a forst that have multi-domain ( multi- global catologe) may you will face a problem when you search your user in active directory. i worked around this problem a lot of time and finally a solution come, below a snapshot that shows the error:
Describtion of the problem:
Error when doing a search for a user using people picker: “no results were found to match your search item please enter a new term or less specific”
Procedure of Work:
*Checked the user profiles and there were no user profiles imported from the domain to sharepoint
*Run the full import and set schedules for the incremental and full profile imports
*To synchronize the data in the SSP with the content databases of the sites, we run the below commands:
1. Stsadm -o sync -listolddatabases 0
2. Stsadm -o sync -deleteolddatabases 0
3. Stsadm -o sync -IgnoreIsActive 1 (to sync all users irrespective of the tp_IsActive flag (0 or 1))
4. Stsadm -o sync -synctiming M:1
5. Wait for 5 min
6. Verify if the Profsync has completed by running stsadm -o sync -listolddatabases 0
7. Stsadm -o sync -synctiming H:1
** And Now To set people picker to search for users in specific domain, we run the below commands:
stsadm -o setapppassword -password password
stsadm -o setproperty -pn peoplepicker-searchadforests -pv “domain:your Domain,Your domain\AdminAccount,*******” -url http:// Your Site:port
For example: stsadm -o setproperty -pn peoplepicker-searchadforests -pv “domain:test.com,test\setupadmin,password” -url http://test-portal:8080
Note: if the issue occurs again later on a different web application, just change the URL from the above command.
I hope that help you to avoid this problem…
good luck for all