Monday, April 14, 2014

IIS Windows Authentication promting for Username and password


 It looks like I just fixed it by changing the order of the Windows Authentication Providers so that NTLM was first.  In IIS7, got to Authentication, right click on Windows Authentication and select Providers.  Use the arrows to move NTLM above Negotiate

People Picker from Non trusted domain to trusted domain



Reference# http://blogs.msdn.com/b/jorman/archive/2011/02/16/people-picker-why-don-t-you-trust-me.aspx?Redirected=true

Password which I have used to set the AppPassword on all the 4 servers
We can get the binary value of the password in the registry here HKEY_Local_Machine\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Secure - AppCredentialKey  :  REG_BINARY


Using STSADM we can configure which forests and domains are searched for accounts by setting the peoplepicker-searchadforests property. The best part is that we can supply a username and password for a trusted domain.
SharePoint doesn’t allow you to store this username and password in plain text on the server. So you will have to configure a secure store. If you skip this step, configuring the search account for trusted domains will always fail with the following message - Cannot retrieve the information for application credential key.
To create a credential key you will have to use the following command.
stsadm -o setapppassword -password <password>
This command has to be executed on every server in the farm.
Now you can configure the forests and domains you want to search using the following command.
stsadm -o setproperty -url <web application url> -pn peoplepicker-searchadforests -pv forest:<source forest>;domain:<trusted domain>,<trusted domain>\<account>,<password>

You can combine any number of forests and domains, but you need to specify at least one. You also need to include all forests and domains in one statement because every time you execute this command it will reset the current settings.


Applying Document Retention in SharePoint 2010


According to MSDN, “An information management policy is a set of rules that govern the availability and behavior of a certain type of important content.” Retention rules are considered a kind of information management policy. (Note: information management policies are only available for the SharePoint 2010 server product, and are not available in SharePoint Foundation 2010.) You can create retention policies in several ways:
  • You can create a retention policy definition within your site collection, then apply that policy to content types throughout the site.
  • You can create a retention policy that’s associated with a content type that’s defined in the root of the site collection.
  • You can create a retention policy that’s associated with a local content type that has been applied to a list or library.
  • You can create a retention policy directly on a list or library itself

More Infor: http://blogs.msdn.com/b/mvpawardprogram/archive/2011/10/03/applying-document-retention-in-sharepoint-2010.aspx