Users not created with AD Authentication

Topics: General
Jul 17, 2014 at 11:53 PM
Edited Jul 17, 2014 at 11:53 PM
I recently installed BugNet and configured it to use AD authentication per the wiki instructions here. I'm running IIS 7.5 on Server 2008 R2. I made sure that I uncommented both module references so that my web.config looks like the following (excluding irrelevant sections for brevity):
      <add name="AuthenticationModule" type="BugNET.HttpModules.AuthenticationModule, BugNET.HttpModules.Authentication"/>
      <add name="LocalizationModule" type="BugNET.HttpModules.LocalizationModule, BugNET.HttpModules.Localization" />
      <add name="AuthenticationModule" type="BugNET.HttpModules.AuthenticationModule, BugNET.HttpModules.Authentication" />
      <add name="LocalizationModule" type="BugNET.HttpModules.LocalizationModule, BugNET.HttpModules.Localization" />
and authentication mode looks like the following:
<authentication mode="Windows" />
I configured the domain/path and credentials for querying our AD forest, set "User Account Source" to "Active Directory", "Anonymous Access" to "Disable" and I've tried "User Registration" with all different values. I also made sure that in IIS under the sites authentication settings that I've disabled all methods except Windows Authentication.

In all cases the user is able to login to the site, and in the upper right it shows the user as ad\username, so the AD authentication is working, but the user isn't being populated into the users table, and thus none of the auto assignment of roles are kicking in.

I'm using BugNet version 1.6.313.0, and I've also made sure that no errors are showing up in the system logs.

Any help or insight would be appreciated.
Jul 18, 2014 at 1:12 PM
It sounds like you have it setup correctly.

Have you disabled anonymous access in IIS , not BugNET? and you said there were no errors logged in BugNET. Any issues in this module should be caught and logged here.

It may be possible that your was not found in the domain path you provided.
Jul 18, 2014 at 4:20 PM
Ok, I resolved this. It was a problem with the account I had setup for querying our AD forest. Doh. Thanks for the response!
Marked as answer by dubeaud on 7/23/2014 at 8:29 AM