I got some strange issue with LDAP lookups. I have setup Agent LDAP and sync with OTRS DB
On Agent login, the first attempt to authenticate fails 80% of the time
"Login failed! Your user name or password was entered incorrectly."
If I immediately attempt to Login again with same credentials, 90% of the time the Agent can login
If it fails again, we attempt again - then Agent can login.
So basically, we keep trying until it allows access. It's a bit frustrating - so maybe someone can understand why the search fails intermittantly.
Traceback (21152):
Module: Kernel::System::Auth::LDAP::Auth Line: 215
Module: Kernel::System::Auth::Auth Line: 152
Module: Kernel::System::Web::InterfaceAgent::Run Line: 248
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
ERROR: OTRS-CGI-47 Perl: 5.26.1 OS: linux Time: Wed Nov 25 08:48:25 2020
Message: Search failed! (OU=xxxxx,OU=xx,OU=xxxxxxx,DC=xx,DC=xxxxx,DC=xxx) filter='(sAMAccountName=USER)' 0000202B: RefErr: DSID-03100742, data 0, 1 access points
ref 1: 'ZA.OMLAC.NET'