seanism DOT com Random thoughts from the world of seanism


Unable to access SharePoint in Firefox on OS X

Firefox recently disabled pre-NTLMv2 authentication in Firefox 30.  This can cause issues in SharePoint and other IIS based sites.

To re-enable NTLMv1 support type about:config in the location bar, click the "I'll be careful" button, find network.negotiate-auth.allow-insecure-ntlm-v1, double-click on it to change the value to true.
NTLMv1 Error 401

Below is what Firefox wrote in their release notes.

NTLMv1 auth has been disabled, NTLM support on non-Windows platforms is now deprecated

The support for the NT LAN Manager version 1 (NTLMv1) network authentication has been disabled because it's known as insecure. Companies and organizations still deploying the older protocol should upgrade to NTLMv2. See Honza Bambas' blog post and Jason Duell's post to the dev-planning list for details.

This is affecting SharePoint-based or IIS-backed intranet applications. If you encounter any problems on Firefox 30 or later, you can manually enable NTLMv1 using a preference. Note that NTLMv2 is not supported on non-Windows platforms, so OS X and Linux users have to toggle the preference to continue using NTLMv1 as below, though the NTLM auth support on non-Windows platforms is considered deprecated.


Add a PDF icon to PDF documents in SharePoint 2010

By default SharePoint uses a white icon for PDF documents.  It's rather plain.  To use a PDF icon follow these steps...

Download the PDF icon to your SharePoint server.

Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES

Place the image in the IMAGES folder and name it icpdf.gif

Edit C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\DocIcon.xml

Insert  <Mapping Key=”pdf” Value=”icpdf.gif”/> between the following lines...

<Mapping Key="onetoc2" Value="icont.png" EditText="Microsoft OneNote" OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key=”pdf” Value=”icpdf.gif”/>
<Mapping Key="png" Value="icpng.gif"/>

Save the file and restart IIS.

Update: Make sure the quotes are correct when you paste the text into the configuration file. Compare them with the rest of the quotes in the document.