Skip to content

Instantly share code, notes, and snippets.

@mshafiee
Last active September 7, 2018 11:56
Show Gist options
  • Save mshafiee/b30c31368e211da164915a55f4ad985c to your computer and use it in GitHub Desktop.
Save mshafiee/b30c31368e211da164915a55f4ad985c to your computer and use it in GitHub Desktop.
Setting up Gitlab LDAP authentication to Zimbra
main: # 'main' is the GitLab 'provider ID' of this LDAP server
label: 'Zimbra LDAP'
host: 'ldap.zimbra.com'
port: 389
uid: 'uid'
method: 'plain' # "tls" or "ssl" or "plain"
bind_dn: 'uid=zimbra,cn=admins,cn=zimbra'
password: 'PASSWORD'
active_directory: false
allow_username_or_email_login: true
block_auto_created_users: false
base: 'ou=people,dc=domain,dc=com'
user_filter: '(objectclass=inetOrgPerson)'
@sureshpareek
Copy link

you should change bind_dn because that is creating a problem

@ghkem
Copy link

ghkem commented Sep 7, 2018

hi!
my task: mark the user as external.
In docs i found:
https://docs.gitlab.com/ee/administration/auth/ldap-ee.html#external-groups
but I can not do anything with ZimbraLDAP.
Can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment