Active Directory MembershipProvider

Topics: ASP.NET 2.0
Jan 7, 2010 at 10:08 PM

I'm trying to make BlogEngine use AD for the MemeberShip.

I have parts of it working. I followed this article found here  I found this from this post here

I have everything set up and it seems to allow me to login.

But when I go to the admin area and click on the Users tab I get an error 'Object reference not set' with this info: Line 38: <ItemTemplate>Line 39: <%# Server.HtmlEncode(Eval("email").ToString()) %>Line 40: </ItemTemplate>

And on a side note, how can I make the MembershipProvider only allow users that are members of a specific AD group?? In the config I have the connection with the LDAP, server name, and DC. But instead of just connecting to the AD I want to connect to AD and also a specific group name within AD. Or is there a way in the BlogEngine admin to manage/add/remove AD users to the BlogEngine system?

Please help!