[Solved] Agent Login -> having both LDAP and Database Agents

Moderator: crythias

Locked
pedrocalvin
Znuny newbie
Posts: 9
Joined: 18 Jan 2011, 20:26
Znuny Version: 2.4.7

[Solved] Agent Login -> having both LDAP and Database Agents

Post by pedrocalvin »

Hello,

Does anyone know if it is possible to have both LDAP and Database login for agents?

I have been searching and it seems like it is not possible, but if someone has implemented this kind of solution, I would appreciate the help :)

Thanks in advance,
Pedro
Last edited by pedrocalvin on 19 Apr 2011, 00:18, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Agent Login -> having both LDAP and Database Agents

Post by crythias »

yes. the admin docs tell you explicitly how to do multiple backends.
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
pedrocalvin
Znuny newbie
Posts: 9
Joined: 18 Jan 2011, 20:26
Znuny Version: 2.4.7

Re: Agent Login -> having both LDAP and Database Agents

Post by pedrocalvin »

Oops,

I've missed something.

What i meant is if it is possible to have them working at the same time.

I have tried the Database authentication and the LDAP authentication. They both work perfectly, but i can't put them working at the same time.

This article http://doc.otrs.org/3.0/en/html/auth-backends.html refers how to configure different authentication methods, but it doesnt explain on how to have them working at the same time.

When I enable both these authentication methods on the Config.pm file, what happens is that just one of the methods will work :(

I've managed to do something similar with the Customers (it is very easy to setup different customer data sources) but I haven't been able to do the same with the agents so far.

Thanks in advance,
Pedro
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Agent Login -> having both LDAP and Database Agents

Post by crythias »

Same principles apply as here http://doc.otrs.org/3.0/en/html/custome ... r-backends.
Add a number at the end of the entries for each additional authentication and list method.
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
pedrocalvin
Znuny newbie
Posts: 9
Joined: 18 Jan 2011, 20:26
Znuny Version: 2.4.7

Re: Agent Login -> having both LDAP and Database Agents

Post by pedrocalvin »

Hello!

Sorry for the late answer.

It did work, thanks a lot for the help! :)

Anyway, even though it seems now to me really obvious for me now (because of the analogy with the multiple Customer backends) it didn't seem so obvious before, as it was not documented.

Once again, thank you very much :)

Kind regards,
Pedro
Locked