LDAP Search failure on Agent first login

Moderator: crythias

Locked
lionelb
Znuny newbie
Posts: 1
Joined: 04 Jan 2018, 18:01
Znuny Version: otrs 6.0
Real Name: Lionel

LDAP Search failure on Agent first login

Post by lionelb »

Hi,

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'
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: LDAP Search failure on Agent first login

Post by root »

Hi,

Do you use multiple LDAP servers? Maybe they are not in sync?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Locked