Ben Curry - CISSP, SharePoint Server MVP

All MindsharpBlogs

http://www.microsoft.com/mspress/books/10623.aspx

My Links

Archives

Image Galleries

Blog Stats

Favorite SharePoint Books

My Favorite Blogs

How to crawl Smart Card or Forms Based (FBA) Enabled Web Applications

The Problem:

When requiring smart card access on a Web Application, you cannot use a certificate (in a crawl rule) to authenticate to the content source. The reason is because the content source is waiting for the smart card to be inserted. You also cannot crawl Forms Based Authenticated Web apps. The below solution works for either problem.

The Solution:

This solution assumes multiple servers in the farm, but it will work on a single server.

1. Extend and Map the smart card-enabled Web Application to another Zone. The 'Custom' zone works well for this. Call it anything, like http://ZONE4SEARCH

2. Select either NTLM or Kerberos (depends on your environment) for the Custom Zone authentication.

3. On the Index Server, modify the HOSTS file to include an entry for ZONE4Search with an IP address of 127.0.0.1

4. Remove the original content source from Search for the smart card-enabled/FBA enabled Web Application, if it still exists

5. Create a new content source in Search Settings pointing to http://ZONE4SEARCH

6. If security is a concern, you can stop the ZONE4SEARCH site on the WFE Server(s)

7. You should now be able to crawl your smart card enabled content via http://ZONE4SEARCH

8. Lastly, create a SERVER NAME MAPPING in Search administration and replace http://ZONE4SEARCH with your smart card/FBA enabled URL

When your users get a search result, they will only see the smart card-enabled Web Application. If you want to control the security on this new zone, you can always create Web Application Policies

If you are looking to crawl a Web Application via Forms Based Authentication (FBA) there is a fix now http://www.microsoft.com/downloads/details.aspx?FamilyId=D5090BC4-5B4F-411B-8CDE-E37D33F7EFDF&displaylang=en. Or, you can wait for the Microsoft Search 2008 update for SharePoint Server 2007.

Ben Curry

Mindsharp

 

posted on Friday, October 26, 2007 5:10 PM

Feedback

# re: How to crawl Smart Card Enabled Web Applications 11/16/2007 2:53 PM Jay

Very Nice! That will be a huge help to a lot of folks I know.

Question for you though........would the process for crawling an SSL enabled MOSS 2007 farm be similar? I have most of search working except for people search. I keep getting access denied on sts3://servername when I try and crawl.

# re: How to crawl Smart Card Enabled Web Applications 11/17/2007 5:19 AM Ben Curry

If you changed the my site web application to SSL, try changing the URL from sps3:// to sps3s://.

-ben

# re: How to crawl Smart Card Enabled Web Applications 11/19/2007 7:11 AM Jay

Thanks Ben. I did try that and unfortunately it did not work. I'm not sure but it may be because we didn't truly SSL enable the My Sites web application.

I followed the directions at Chris Johnsons blog on "Moving your My SIte location in MOSS". So basically my root SharePoint web app is SSL enabled and nothing else.
http://blogs.msdn.com/cjohnson/archive/2006/09/15/754902.aspx

Thanks for the response!

# Create SharePoint Server 2007 Crawl Rules using Forms Based Authentication (FBA) 1/8/2008 1:36 PM Ben Curry - CISSP, MVP, MCP, CNE, All Around Good

# Create SharePoint Server 2007 Crawl Rules using Forms Based Authentication (FBA) 1/8/2008 1:38 PM Ben Curry - CISSP, MVP, MCP, CNE, All Around Good

# Cafe PayLaşım 9/28/2008 12:08 PM PayLaşım

Thanks

# cool 10/15/2008 9:23 AM Bimbo

thank You.

Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments