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

Can't authnticate with Windows AuthenticationProvider #819

Open saqwel opened 6 years ago

saqwel commented 6 years ago

I set BonoboGitServer 6.3 for Windows authentication as you write in instruction. But when I try to login with login form, server returns me empty login form again.

If I remove my account from "Git" group I get error "You don't have permission for the selected action or page."

If I set AuthenticationProvider as Cookie authentication works.

Here is my Web.config ``

<add key="AuthenticationProvider" value="Windows" />
<add key="ImportWindowsAuthUsersAsAdmin" value="false" />
<add key="MembershipService" value="ActiveDirectory" />
<add key="ActiveDirectoryDefaultDomain" value="here.is.my.domain" />
<add key="ActiveDirectoryBackendPath" value="~\App_Data\ADBackend" />
<add key="ActiveDirectoryMemberGroupName" value="Git" />
<add key="ActiveDirectoryRoleMapping" value="Administrator=GitAdmins" />

``

And another issue that I can't authenticate to git when try to clon repo. But if I allow anonimose access it works.

C0en commented 5 years ago

Same issue, the log says: 2018-11-26 14:49:18.901 +01:00 [Information] AD: Validating "MYUSER" in domain "my.domain.com" 2018-11-26 14:49:18.917 +01:00 [Information] AD: Success validating "MYUSER" in domain "my.domain.com" 2018-11-26 14:49:18.932 +01:00 [Information] Searching for group "GITGROUP" in domain "my.domain.com"

Then returns me to an empty login screen