Wednesday, May 9, 2007

MOSS Authentication Links

The following are great articles related to authentication in MOSS:

LDAP:

http://www.sharepointblogs.com/helloitsliam/archive/2006/08/15/10027.aspx

Custom:

PART 1: http://www.sharepointblogs.com/helloitsliam/archive/2006/12/11/16842.aspx


PART 2: http://www.sharepointblogs.com/helloitsliam/archive/2006/12/12/16887.aspx


PART 3: http://www.sharepointblogs.com/helloitsliam/archive/2006/12/14/16973.aspx


PART 4: http://www.sharepointblogs.com/helloitsliam/archive/2006/12/15/17010.aspx

3 comments:

Unknown said...

Hey Joe.
This article was very useful, in providing custom Login page apart form _Layouts/Login.aspx page.

But still when we provide neccesary information for LDAP for Custom Provider in config section as soon as the Default.aspx page of port is open it throws a Sharepoint Error Page.

Harshith
VDSI

Joseph Krupinski said...

Hello Harshith,

The first thing I would recommend is diagnosing the error. The way I would do that is by:

1. Edit the web.config file for the site.
2. Look for “CallStack” in the SafeMode section, change the value from false to true.
3. Look for “CustomErrors” in System.Web section, change the value from On to Off.

This way we can at least determine causal effects instead of the hey something's wrong error message generated by sharepoint.

Unknown said...

Hey Joe,

Thanks a lot for your comments. I got the error message. The provider was taking from Machin.Config file. Now I get my default.aspx page open with LDAP connection.

But when I try to enter any username or password in it. It says invalid. But the log error what i get is System.DirectoryServices.DirectoryServicesCOMException
Where it is not able to validate user, Even the user is available. Can u suggest on this?