Bonobo-Git-Server icon indicating copy to clipboard operation
Bonobo-Git-Server copied to clipboard

Can't authnticate with Windows AuthenticationProvider

Open saqwel opened this issue 7 years ago • 1 comments

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.

saqwel avatar Sep 27 '18 11:09 saqwel

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

C0en avatar Nov 26 '18 13:11 C0en