Gerrit doesn't pull in Administrators from Active Directory when using LDAP authentication?

StackOverflow https://stackoverflow.com/questions/8419406

Pergunta

When using Active Directory LDAP authentication for Gerrit, Gerrit doesn't seem to be pulling in the users from the AD Administrators group ( =BIG problem :) ). Other users who are in the base directory for the dc and the Users container are being pulled in correctly once the group is created in Gerrit, but not users in the Administrators group, which is in the Builtin container in AD.

Here is my gerrit.config file:

...
    [auth]
        type=LDAP
    [ldap]
        server = ldap://ldapserver
        referral=follow
        username= user
        password= pass
        accountBase = dc=domain,dc=com
        groupBase = dc=domain,dc=com
        accountPattern = (&(objectClass=user)(sAMAccountName=${username}))
        groupPattern = (&(objectClass=group)(cn=${groupname}))
        accountFullName = displayName
        accountMemberField = memberOf
        accountEmailAddress = mail
...

Anybody know a way to fix this? (even logging directly into the embedded DB somehow to stick in an admin, though I'm not sure about the login credentials used for that...)

Thanks!

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top