[SOLVED] - Obtaining LDAP Variable data in OTRS

Moderator: crythias

Locked
retro2707
Znuny advanced
Posts: 131
Joined: 16 Apr 2014, 17:06
Znuny Version: 6.0.12

[SOLVED] - Obtaining LDAP Variable data in OTRS

Post by retro2707 »

Hi and thanks for reading.

Our company wishes to get information out of LDAP for Customers which we can use to then populate some auto-responses. One example is getting the Phone Number. Is this possible using variables? I have found a few lists about but none talk about getting the information from an LDAP source. In my Config.pm I map some fields as shown below.

Code: Select all

        Map => [

                [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
                [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
                [ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ],
                [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
                [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
                [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],

      ],
Thanks,

Brendan
Last edited by retro2707 on 29 Oct 2014, 11:25, edited 1 time in total.
Setup:
OTRS 6.0.12
Hosted on CentOS 7.4/ MySQL - MariaDB (5.5.60)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Obtaining LDAP Variable data in OTRS

Post by crythias »

retro2707 wrote:Our company wishes to get information out of LDAP for Customers which we can use to then populate some auto-response
<OTRS_CUSTOMER_DATA_UserPhone>
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
retro2707
Znuny advanced
Posts: 131
Joined: 16 Apr 2014, 17:06
Znuny Version: 6.0.12

Re: Obtaining LDAP Variable data in OTRS

Post by retro2707 »

crythias, you are a gentleman and a scholar sir. Thank you very much for your help.
Setup:
OTRS 6.0.12
Hosted on CentOS 7.4/ MySQL - MariaDB (5.5.60)
Locked