jakubgarfield / Bonobo-Git-Server

Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories. Go to homepage for release and more info.
http://bonobogitserver.com
MIT License
1.81k stars 603 forks source link

Active Directory server setup #809

Closed rcohn closed 2 years ago

rcohn commented 6 years ago

Hello -

Is there a definitive source for an example of setting up the Bonobo git server for Active Directory usage? The example in the Bonobo documentation does not seem to work properly. Here's what I have in the Web.Config file:

<add key="MembershipService" value="ActiveDirectory" />
<add key="ActiveDirectoryDefaultDomain" value="companyname.com" />
<add key="ActiveDirectoryBackendPath" value="~\App_Data\ADBackend" />
<add key="ActiveDirectoryMemberGroupName" value="git_Engineering" />
<add key="ActiveDirectoryTeamMapping" value="Developers=git_Engineering" />
<add key="ActiveDirectoryRoleMapping" value="Administrator=git_Admin" />

Does this look about right? Thank you.

KonstantinVRT commented 6 years ago

It is not the question of Bonobo config only. IIS/site should be configured correctly as well. Your web.config should also have this line:

<- authentication mode="Windows" /> But besides it we need an example of working IIS/site config.