Microsoft Office Sharepoint Server 2007 came up with various new features and one of most awaited feature in this product is capability of providing different authentications for the same web site based on set of users. One can extend any MOSS web application on to 5 different zones and implement 5 different kinds of authentication mechanisms. The basic and default authentication MOSS provides is NTLM, apart from that MOSS can be configurable with SQL membership, another Active directory source using Active Directory connection or LDAP connection based on the requirement.
In this article I am providing information on from how to extend a web application to configuring profile import for forms based authentication users using LDAP.
How to extend a web application for forms authentication zone:
1. Logon to central administrator of farm with full rights.
2. Click on Create or extend web application option under sharepoint web application management section.
3. Choose the option extend in the resulting screen.
4. Leave the default NTLM site at time of extending the web application, and provide all other necessary information like load balancing URL port number, host headers etc.
5. Now open web.config file of your administrator web application using notepad or any other compatible editor and place the following strings at specified sections.
1. Just below closing tab of configSections (), add the below lines of code.
2. Search for peoplepicker in the config file and change that tag into below tag lines.
3. Now Locate tab in the config file and place the following string under system.web section.
Note: Make sure to use the public key token from your servier GAC instead of using the one mentioned here, because some .net versions will have different public key token for this assembly. In that case the authentication simply won’t works and we will never see hints on why it is failing.
6. Now Go back to central admin site and click on authentication providers tab under application security section.
7. Click on the zone name of the desired web application to set forms authentication.
8. Make sure to choose forms under authentication section and provide correct LDAP provider name for your zone to authenticate successfully. Also choose client integration NO, this is important because some times client syst
ems which come from public zone may not be having full compatibility with MOSS client related applications, thus end users may find it difficulty to download the content.
9. Click save, now you are all set for authenticating your users with forms login instead of IE browser window pop ups. To verify the change, simply browse the forms authentication URL and see if you are able to see login page with user id and password text boxes with standard layout.
Now we are all set for forms authentication configured. Make sure your repeat steps a,b,c under 5 for web.config file of all zones of your web application.
Now we have to configure profile import for this FBA users and add users to forms based authentication zone. I will explain those details in the next posting under this blog.
In this article I am providing information on from how to extend a web application to configuring profile import for forms based authentication users using LDAP.
How to extend a web application for forms authentication zone:
1. Logon to central administrator of farm with full rights.
2. Click on Create or extend web application option under sharepoint web application management section.
3. Choose the option extend in the resulting screen.
4. Leave the default NTLM site at time of extending the web application, and provide all other necessary information like load balancing URL port number, host headers etc.
5. Now open web.config file of your administrator web application using notepad or any other compatible editor and place the following strings at specified sections.
1. Just below closing tab of configSections (), add the below lines of code.
2. Search for peoplepicker in the config file and change that tag into below tag lines.
3. Now Locate tab in the config file and place the following string under system.web section.
Note: Make sure to use the public key token from your servier GAC instead of using the one mentioned here, because some .net versions will have different public key token for this assembly. In that case the authentication simply won’t works and we will never see hints on why it is failing.
6. Now Go back to central admin site and click on authentication providers tab under application security section.
7. Click on the zone name of the desired web application to set forms authentication.
8. Make sure to choose forms under authentication section and provide correct LDAP provider name for your zone to authenticate successfully. Also choose client integration NO, this is important because some times client syst
ems which come from public zone may not be having full compatibility with MOSS client related applications, thus end users may find it difficulty to download the content.9. Click save, now you are all set for authenticating your users with forms login instead of IE browser window pop ups. To verify the change, simply browse the forms authentication URL and see if you are able to see login page with user id and password text boxes with standard layout.
Now we are all set for forms authentication configured. Make sure your repeat steps a,b,c under 5 for web.config file of all zones of your web application.
Now we have to configure profile import for this FBA users and add users to forms based authentication zone. I will explain those details in the next posting under this blog.