Multiple OU's from AD - LDAP


Can anyone help me out how to add another OU from AD to gitlab ?
At the moment this is our conf, replaced sensitive stuff with xxx
What i want to do is adding another OU from the same Forest
For now the users are loaded from ( OU=Office ) but i want to add another OU.
I would like to exclude the whole ad ( root ) because there are other OU 's with users too.


###! remember to close this block with ‘EOS’ below
gitlab_rails[‘ldap_servers’] = YAML.load <<-‘EOS’
main: # ‘main’ is the GitLab ‘provider ID’ of this LDAP server
label: ‘XXX Group’
host: ‘’
port: 389
uid: ‘userPrincipalName’
method: ‘plain’
bind_dn: ‘CN=XXX DE LDAP,OU=Service,DC=xx,DC=xxx,DC=xx’
password: ‘xxx’
active_directory: true
allow_username_or_email_login: false
block_auto_created_users: false
base: ‘OU=Office,DC=xx,DC=xxx,DC=xx’
user_filter: ‘’
username: [‘sAMAccountName’]
email: [‘mail’, ‘userPrincipalName’]
name: ‘cn’
first_name: ‘givenName’
last_name: ‘sn’

Thank you,