aspx Authenticate against Active Directory

Hi all,

Iam trying to get my web-app to authenticate users against Active Directory. My code is exactly the same as the one Microsoft describes in their knowledge base artice:
KB: 316748 (http://support.microsoft.com/?kbid=316748).

The only thing I changed was the value for the LDAP server. I've changed this to:
LDAP://FS-ASC/DC=asc,DC=lan
For some reason I get the following error message after trying to logon:
Error authenticating. Error obtaining group names. Object reference not set to an instance of an object.

I really can't find out why it does this. I have been looking through google news groups, google itself. Is there anyone who could help me out on this??????

My complete source can be downloaded from:

http://ccc.matrix360.net/webform1.zip

Kind regards and thanks in advance,

Ronald.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories