Windows SAM authorization

Topics: Core
Jun 25, 2014 at 5:55 PM
When setup to do Windows SAM authorization, the user will not be added to the User database and therefor is not available to be selected as an "owner" or from any customer field with 'user list' as a source. Is it possible to have users added automatically to the User table when utilizing Windows SAM??
Coordinator
Jun 25, 2014 at 6:58 PM
asudman wrote:
When setup to do Windows SAM authorization, the user will not be added to the User database and therefor is not available to be selected as an "owner" or from any customer field with 'user list' as a source. Is it possible to have users added automatically to the User table when utilizing Windows SAM??
Users will be created when using windowssam as long as you have un-commented the authentication module in the web.config.

https://bugnet.codeplex.com/wikipage?title=Configure%20Active%20Directory%20%2f%20Windows%20Authentication&referringTitle=Documentation
Marked as answer by asudman on 6/25/2014 at 12:55 PM
Jun 25, 2014 at 7:10 PM
you are talking about this line?
  <!--<add name="AuthenticationModule" type="BugNET.HttpModules.AuthenticationModule, BugNET.HttpModules.Authentication"/>
From the documentation that looked like something that only needed for Active Directory configuration (based on the header saying "Configuring Active Directory")

Thanks! Never would've looked at that.
Coordinator
Jun 25, 2014 at 7:15 PM
asudman wrote:
you are talking about this line?
  <!--<add name="AuthenticationModule" type="BugNET.HttpModules.AuthenticationModule, BugNET.HttpModules.Authentication"/>
From the documentation that looked like something that only needed for Active Directory configuration (based on the header saying "Configuring Active Directory")

Thanks! Never would've looked at that.
Yes, there are two places where you need to uncomment it and it works for both AD and local sam accounts.
Jun 26, 2014 at 2:54 PM
One other thing related to Windows SAM. Is there any way to require a person to enter an email address the first time they access BugNet using Windows SAM authorization? I like the Windows SAM ability, but don't like that an email is not captured when using that authentication.

Thanks again for all the help!
Coordinator
Jun 26, 2014 at 3:10 PM
asudman wrote:
One other thing related to Windows SAM. Is there any way to require a person to enter an email address the first time they access BugNet using Windows SAM authorization? I like the Windows SAM ability, but don't like that an email is not captured when using that authentication.

Thanks again for all the help!
There is no way to do that out of the box, but the user can update their email address via their profile.
Jul 24, 2014 at 1:08 PM
On more followup on this topic. Is there a way to require the person to enter the windows login when accessing BugNet? It appears that it is just taking the current windows logon and using that.

Thanks!
Coordinator
Jul 24, 2014 at 2:00 PM
asudman wrote:
On more followup on this topic. Is there a way to require the person to enter the windows login when accessing BugNet? It appears that it is just taking the current windows logon and using that.

Thanks!
Windows integrated authentication works this way, passing the windows credentials that were used to log on to the machine.
Jul 24, 2014 at 2:34 PM
Other than the BugNet managed user accounts, is there any other way to force a user to enter login information when accessing BugNet?
Coordinator
Jul 24, 2014 at 2:40 PM
asudman wrote:
Other than the BugNet managed user accounts, is there any other way to force a user to enter login information when accessing BugNet?
I think you are looking for forms authentication, where users enter there username and password. This is the default authentication mode.
Jul 24, 2014 at 3:15 PM
can I have both forms and windows authorization active on the web site? and what, if any, changes to the BugNet authorization settings/webconfig need to be made to allow both forms and windows auth? If this is possible, that is.
Coordinator
Jul 25, 2014 at 1:58 PM
asudman wrote:
can I have both forms and windows authorization active on the web site? and what, if any, changes to the BugNet authorization settings/webconfig need to be made to allow both forms and windows auth? If this is possible, that is.
We don't support mixed mode authentication unfortunately, it is either one or the other.