My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).
Showing posts with label authentication. Show all posts
Showing posts with label authentication. Show all posts

30 April 2009

Links List April 2009

I decided to share all my interesting reads and resources month by month with my blog readers. You can find these posts by searching on the label Links. I'll try to order the resources in logical categories. If you would like to see some interesting stuff added in the next month, don't hesitate to post a comment.

So this is my Links post for April 2009.

 

SharePoint - Design and Customization

 

 

SharePoint – Development and Programming

 

 

SharePoint – Search

 

 

SharePoint - Setup, Upgrade, Administration and Operation

 

 

Dynamics AX

 


Continue reading......

by Patrik Luca 0 comments

31 March 2009

Links List March 2009

I decided to share all my interesting reads and resources month by month with my blog readers. You can find these posts by searching on the label Links. I'll try to order the resources in logical categories. If you would like to see some interesting stuff added in the next month, don't hesitate to post a comment.

So this is my Links post for March 2009.

 

SharePoint - Design and Customization

 

SharePoint – Search

 

SharePoint - Setup, Upgrade, Administration and Operation

 


Continue reading......

by Patrik Luca 1 comments

29 March 2009

Wrong urls in SharePoint alert messages

Problem Description: Wrong urls in SharePoint alert message

Recently I ran into a problem with the automatic generated urls in SharePoint alert messages. Each alert message has some hyperlinks in it:

  • One to the site where the alert originated from
  • One direct link to your alert so you can Modify the alert settings
  • One to the item where the alert originated from
  • One to the list where the alert originated from

The SharePoint environment was set up with two Web Applications with another authentication mechanism:

  • The first Web Application was set up with Windows authentication (using corporate Active Directory credentials): I’ll call it the http://intranet url in this post.
  • The second Web Application (extended from the first one) was set up with Forms Based authentication (using credentials in a Forms Authentication data store): I’ll call it the http://extranet url in this post.

For some users logging in using the Web-based form (and hence entering the Forms Based authentication Web Application, http://extranet url), the hyperlinks in the generated alert messages started wrongly with http://intranet. This was not the case for all users entering the Forms Based Web Application: for some the hyperlinks in the alert messages started correctly with http://extranet.

Solution: Create SharePoint alerts while logged in on the correct Web Application

The cause of this problem was because I created SharePoint alerts for some users entering the Forms Based authentication Web Application. I created these SharePoint alerts as farm administrator while being logged in to the first Web Application configured with Windows authentication (http://intranet).

Apparently, the url of the Web Application is stored based on the url of the moment of creation of the SharePoint alert. It ignores the fact which authentication provider will be used by the SharePoint user for whom the alert is created.

Creating the SharePoint alerts for other users while being logged in to the second Web Application fixed my problem.


Continue reading......

by Patrik Luca 1 comments

13 February 2009

SharePoint not reachable through Internet Explorer, with Firefox no problem

Problem description: Internet Explorer cannot display the webpage

At one of my customers, all of a sudden, the SharePoint website was not accessible anymore for some users. Those users were prompted for their credentials when trying to enter the SharePoint website, but then they got immediately a Internet Explorer cannot display the webpage error page. The SharePoint environment was a MOSS 2007 environment with Windows Authentication.

Solution: set Authenticated access to Basic authentication

As not all of my users had experienced this problem (some were still able to enter their credentials and enter the SharePoint environment), my first thought was that it had something to do with their settings of Internet Explorer (like the site not being in their trusted sites etcetera).

So I did some tests and came to these findings:

  • Everyone was able to enter the SharePoint environment if they used as browser Mozilla Firefox. Once users were browsing with Internet Explorer, some were not able anymore to enter the SharePoint environment (although they could reach it for sure, as they were asked for their credentials).
  • Users surfing with Internet Explorer 6 on a non-Vista PC experienced no problems.
  • Users surfing with Internet Explorer 7 on a Vista PC didn’t get past the credential prompt.

So obviously it had something to do with the credentials (username and password) not getting passed through to Active Directory or back.

I started looking in the Internet Information Services (IIS) Manager and found an interesting setting to change.

I unchecked the Integrated Windows authentication box (which was checked) and checked the Basic authentication box (which was unchecked): after a iisreset, every single user on whatever operating system with whatever browser was now again able to get past the credentials prompt and enter the SharePoint environment.

These settings can be found in your IIS Manager by right-clicking on your SharePoint web application in IIS, then choose Properties, next go to the Directory Security tab and choose Edit in the Authentication and access control section.


Continue reading......

by Patrik Luca 27 comments

21 December 2008

Forms Based Authenticated users cannot open Microsoft Office documents

Problem Description: Forms Based Authenticated users cannot open Microsoft Office documents


You have configured your Web Application to use Forms Based Authentication. Users cannot open Microsoft Office documents such as Microsoft Word or Excel files. Non-Office documents open without problem. When a user tries to open a Microsoft Office document, the Microsoft Office program is launched (such as Word), but the file, stored in a SharePoint document library, is not opened. In stead, the user sees something which is similar to the login page to which a user is redirected for a Web Application configured with Forms as Authentication Type. The document opened is also indicated as being the login.aspx page.


Solution: check the Sign me in automatically box while logging in


The user should check the Sign me in automatically box while logging in. This is the easy workaround, but you'll not always be able to teach your users this way.

Another, more user-friendly, solution, is to check the box by default. To achieve this, follow these steps:

  1. Open the login.aspx page in edit mode. The login.aspx page resides in the _layouts folder (%Program Files%\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS).
  2. After the </asp:login> closing tag, add following code lines:

    <script language=javascript>
         document.getElementById("ctl00_PlaceHolderMain_login_RememberMe").checked = true;
    </script>
  3. Execute an iisreset.


Continue reading......

by Patrik Luca 0 comments

19 May 2008

Installing the IEE Forms Based Authentication Solution

The CKS:Internet/Extranet Edition has released a pre-beta release of a Forms Based Authentication Solution.

This set of great features adds some missing out-of-the box functionality in Microsoft Office SharePoint Server 2007. The solution can be downloaded at Codeplex.
The functionality I like the most is:


  • Ability for external users who authenticate themselves through forms based authentication to change their password through a web part. The web part is highly customizable in terms of error messages and labels.

  • Ability for the SharePoint administrator to add external users who will authenticate through forms based authentication within the site settings of your site collection. There is no need to set up an extra website for user management, nor to do the administration of users directly in a database.


After installing the set of features, I had some problems though.

  • In the user management pages, I could not get an overview of already created users. The UsersDisp.aspx threw an Unknown error.

  • Some of the other user management pages had the same problems.


The solution is already available, but unfortunately is not yet included in the downloadable pre-beta version of the Forms Based Authentication Solutions. I found the working .aspx pages in a blogpost on the Van Laan on Sharepoint and all things Microsoft blog. From there the working .aspx pages can be downloaded. Just copy-paste the downloaded pages over the installed .aspx pages in the 12 hive under TEMPLATE\LAYOUTS\FBA\MANAGEMENT.

In the same blogpost, I found a great tip to change the default view of those user management pages, which display only 5 users at a time: it is very easy to change this to more users on one page.

As my external users were now able to change their password, I wanted to enforce a certain minimal password policy. To achieve this, I changed the web.config file of my web application set up with forms based authentication.
Look for the providers tag in the web.config: you'll find the add name tag, which specifies your provider for forms based authentication. In it, you'll find some properties which you can change to set up a password policy such as:

  • minRequiredPasswordLength: the number specified is the minimal length for a valid password

  • minRequiredNonalphanumericCharacters: the number specified is the minimul non-alphanumeric characters which the password must contain.


To activate this new policy, you should remove your previous definition of your provider. This can be achieved by adding a remove name tag, as shown in the screenshot below.


Continue reading......

by Patrik Luca 1 comments

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Blog Archive

My Blog List

Followers

Links