Hello.
Im having issues to use LDAP in my Gitlab Server Repo. LDAP Server is not syncronizing. If i do a “LdapGroupSyncWorker” or “LdapSyncWorker”. What i got:
irb(main):004:0> LdapGroupSyncWorker.new.perform 1
License Load (0.8ms) /*application:console,db_config_name:main*/ SELECT "licenses".* FROM "licenses" ORDER BY "licenses"."id" DESC LIMIT 100
If i do a “ldapsearch -D…” with the same filter used in GITLAB LDAP configuration, it shows all the user included , as a resume i have 171 users:
# search result
search: 2
result: 0 Success
# numResponses: 172
# numEntries: 171
What this is mean ? I only can get 100 users ? How can i change/increase this ?
Im using :
Ruby: ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
GitLab: 14.9.5-ee (661f7e4160f) EE
GitLab Shell: 13.24.0
PostgreSQL: 12.7
------------------------------------------------------------[ booted in 38.06s ]
Loading production environment (Rails 6.1.4.6)
EDIT:
I execute a “gitlab-rake gitlab:ldap:check[200] --trace”
LDAP: ... Server: ldapmain
LDAP authentication... Success
LDAP users with access to your GitLab server (only showing the first 200 results)
DN: uid=test_user,cn=users,cn=accounts,dc=tst,dc=test,dc=es uid: test_user
..........
..........
Checking LDAP ... Finished