[SOLVED] Issue with Customer Users and LDAP

Moderator: crythias

Locked
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

[SOLVED] Issue with Customer Users and LDAP

Post by andyt »

Just installed OTRS 4.0.3 onto Ubuntu 14.04 server and have managed to get LDAP authentication for customer users working but the cannot login unless I manually create a user in the back-end database. When they try to login they get the below:

Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator.

I tried to follow several posts about changing the Config.pm file but didn't get very far, the issue seems to be that the bind to the LDAP source is anonymous and not using the account I created on the AD.

Any help would be appreciated!
Last edited by andyt on 06 Jan 2015, 17:09, edited 1 time in total.
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

Re: Issue with Customer Users and LDAP

Post by andyt »

I should also mention that the LDAP settings for the login were setup using the Admin section of the web front end in Framework -> Frontend::Customer::Auth
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: Issue with Customer Users and LDAP

Post by Rooobaaat »

read doc.otrs.org
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

Re: Issue with Customer Users and LDAP

Post by andyt »

I did, it didn't help - that's the code that generates the anonymous LDAP binds (logged using WireShark)
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Issue with Customer Users and LDAP

Post by crythias »

Please read my need help? Link in my signature, which points to ldap troubleshooting.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

Re: Issue with Customer Users and LDAP

Post by andyt »

Ok, thanks - I'll take a look!
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

Re: Issue with Customer Users and LDAP

Post by andyt »

I found the issue... UserPw was written as UserPW in the config file, changed the case of the w and LDAP authenticated successfully!
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
Locked