Problem:
When selecting an user in the peoplepicker, and posting the page to the server, an error is returned that the user cannot be found (No exact match was found). This happens when a task is to be assigned to a user that is not known in the site, or when trying to add a new user to the site.
Situation:
- Users are authenticated using NTLM
- A 1-way trust is used, to allow users from the trusted domain to be picked peoplepicker-searchadforests has been configured (before this was configured users from the trusted AD could not be found at all, after the configuration the users from the trusted AD can be found, but the above described error occurs)
- An account from the trusted domain is used to perform the query.
- When using ADExplorer (from Sysinternals) from the SharePoint server with the account from the trusted domain, the trusted domain can be browsed without any problems.
- This error occurs on 2 separate test farms
- User profile service is present, but no user profile import has been configured.
Hints from ULS and windows events:
- In the ULS the following verbose message is logged upon the post back: Exception when search SID "0x010....." from AD "{domain}.nl". Exception=Logon failure: unknown user name or bad password. The odd thing is that just a few moments later another Search FromGC is performed with the same SID only now to the AD "{domain}" (without the .nl!), and then it returns a count of 1.
- When looking in the windows event around the moment that the error occurs, the following warning is logged: The Security System could not establish a secured connection with the server ldap/{server}.{domain}.nl/{domain}.nl@{domain}.NL. No authentication protocol was available.
- When connecting to {server}.{domain}.nl with ADExplorer this gives no errors