Multiple LDAP backends - how to identify user by backend?

Moderator: crythias

Post Reply
mdoupe
Znuny newbie
Posts: 5
Joined: 08 Mar 2016, 17:29
Znuny Version: 5 patch 7

Multiple LDAP backends - how to identify user by backend?

Post by mdoupe »

Hiya,

I've been working on a PoC of OTRS for multiple organizations (one of which is our organization) and I had a question about setting customer fields using an LDAP backend. I've read the documentation on using multiple customer backends here: https://otrs.github.io/doc/manual/admin ... r-backends but I have a question about setting fields to a static value per backend.

In the map configuration, is it possible to do something like this:

Code: Select all

$Self->{CustomerUser1} = {
    Map => [
                    <...snip...>
        [ 'UserOrganization', 'Org', 'This is the actual value I want to set for these users -- not from LDAP', 1, 0, 'var', '', 0 ],
Or is there any other way to identify or tag customers by the backend they're coming from?

Thanks!
Post Reply