In fact, I also tried to turn on the debug mode before, and nothing was found.
My gitblit.service configuration :
Environment="ARGS=-server -Xmx2048M -Djava.awt.headless=true -Dcom.unboundid.ldap.sdk.debug.enabled=true -Dcom.unboundid.ldap.sdk.debug.level=FINE -cp"
gitblit log display:
2020-06-23 10:13:05 [WARN ] could not authenticate aaaa (/x.x.x.x:53349) for SSH using the supplied password
2020-06-23 10:13:05 [INFO ] closed ssh session from /x.x.x.x:53349
2020-06-23 10:13:32 [WARN ] Failed login attempt for bbbb, invalid credentials from y.y.y.y
2020-06-23 10:16:51 [INFO ] Starting user and group sync with ldap service
2020-06-23 10:16:51 [INFO ] Synchronizing with LDAP @ ldap://z.z.z.z:1389
2020-06-23 10:16:51 [INFO ] Finished user and group sync with ldap service
BTW:
gitblit configuration
realm.ldap.synchronize = true
realm.ldap.syncPeriod = 5 MINUTES
but users.conf does not see LDAP sync account information.
Why does gitblit want to cache LDAP user data? I think this is not a good way, or maybe it is to avoid the interference of the authentication connection failure, right?