Backend, LDAP, Admin not there?

Dont create your support topics here! No new topics with questions allowed!

Moderator: crythias

Post Reply
crythias
Moderator
Posts: 10108
Joined: 04 May 2010, 18:38
OTRS Version?: 5.0.x
Location: SouthWest Florida, USA
Contact:

Backend, LDAP, Admin not there?

Post by crythias » 11 Jul 2013, 23:01

The question: Which comes first? The user or the backend?
Specifically, if you change the backend to something else, the error about "can't find user" happens, you can't log in, even as root@localhost.

The standard way to fix this is to add a specific admin user before you add the backend. But there's an alternate way:

Code: Select all

bin/otrs.AddUser.pl -g admin username
That's it. Now you can log in with your external backend.
OTRS 5.0.x (private/testing/public) on Linux with MySQL database. Also on github.
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

estomagado
OTRS newbie
Posts: 18
Joined: 20 Sep 2019, 16:24
OTRS Version?: 6.0.18
Real Name: Henrique Ulbrich
Company: Design for Context
Contact:

Re: Backend, LDAP, Admin not there?

Post by estomagado » 23 Sep 2019, 17:26

Hi crythias and everyone.

I'm new here, this is my first post, and I thought I'd contribute first with a bit of knowledge before abusing the community and posting any questions.

I had this very problem, and I solved it in a somewhat different (and more complicated, but indeed documented) way.

When I added my external LDAP backend (AD, as everybody else), the Admin users on my DB backend were, of course, missing. If I added Agents to the AD group, they would have access to the queues, but not the Admin panel. I was locked out of my OTRS!

After some two weeks of scratching my head, I decided to go through the official OTRS documentation (for the fifth time?) and stumbled on the Using More than One Customer Backend with OTRS section, available here:

https://doc.otrs.com/doc/manual/admin/6 ... kends.html

Now I have both backends working in parallel, transparently. I can add an Admin/Agent in my AD, for internal agents, and in the original DB, for some external agents that I need to have here. Both types of admins work simultenaously.

I don't know if it's illegal to link other forums here (sorry if it is) but here's one posting of mine on Server Fault, with the problem and my detailed solution:

https://serverfault.com/questions/96448 ... 044#969044

Hope it is of any avail to someone.
--
Your pal
Estomagado

OTRS 6.0.18 Vanilla (no add-ons installed)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents

Post Reply