BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  General  General discuss...  Import Users?
Previous Previous
 
Next Next
New Post 7/13/2007 6:25 AM
User is offline jurlis
1 posts
No Ranking


Re: Import Users? 

Hello

I try the same thing in the actual version 0.7.854. All runs perfectly except i would activate the: <add name="AuthenticationModule" type="BugNET.HttpModules.AuthenticationModule, BugNET.HttpModules.Authentication" />

for the autom. create login from win-auth. I have following error:

String was not recognized as a valid Boolean.

[FormatException: String was not recognized as a valid Boolean.]
   System.Boolean.Parse(String value) +2709380
   BugNET.HttpModules.AuthenticationModule.context_AuthenticateRequest(Object sender, EventArgs e) +56
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

 

 
New Post 7/16/2007 3:49 AM
User is offline Neville
7 posts
No Ranking


Re: Import Users? 

 Davin wrote

  1. Set the ActiveDirectory for the authentication in the host settings and enter a username and password that has read access to the directory.
  2. Add a domain user you wish to use as the administrator to the BugNET application through the users section and assign them to the SuperUser role.
  3. Comment the forms authentication and uncomment the windows authentication in the web.config
  4. Uncomment    in the httpmodules section of the web.config
  5. Turn off anonymous authentication for the web site in IIS

I find that just enabling the <authentication mode="Windows" /> in the web.config file, turing off anonymous authentication and then just making sure that all user names are prefixed by the domain name e.g. <domainname>/<username> works for me. This seems to save having to store a username/password combination. As mentioned above you do need to make sure that you have a valid domain based user who is a super user.

 
Previous Previous
 
Next Next
  Forum  General  General discuss...  Import Users?

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.