Gitlab Community Edition(Version: 13.5.3) integrating Active Directory with LDAP config

HI Team,
I am am facing an issue where unable to connect with AD server, when i run
" gitlab-rake gitlab:ldap:check"
and output is : Checking LDAP …

LDAP: … Server: ldapmain
LDAP authentication… Failed. Check bind_dn and password configuration values
LDAP users with access to your GitLab server (only showing the first 100 results)

Checking LDAP … Finished

below is my config for ldap:

gitlab_rails[‘ldap_enabled’] = true
gitlab_rails[‘prevent_ldap_sign_in’] = false

###! remember to close this block with ‘EOS’ below

gitlab_rails[‘ldap_servers’] = YAML.load <<-‘EOS’

gitlab_rails[‘ldap_servers’] = YAML.load <<-‘EOS’
main: # ‘main’ is the GitLab ‘provider ID’ of this LDAP server
label: ‘ActiveDirectory’
host: ‘’
port: 389
uid: ‘sAMAccountName’
encryption: ‘plain’ # “start_tls” or “simple_tls” or “plain”
verify_certificates: false

bind_dn: ‘CN=waleed.ahmed,CN=git,,DC=aksa,DC=com,DC=pk’

bind_dn: ''
password: '1234abc'

smartcard_auth: false

active_directory: true
allow_username_or_email_login: false

lowercase_usernames: true

block_auto_created_users: true
base: 'DC=domain,DC=com,DC=pki'
username: ['uid', 'userid', 'sAMAccountName']
email:['mail', 'email', 'userPrincipalName']
name: 'cn'

please suggest would really appreciate .Thankyou