Add agents info from LDAP to DB (user table)

Hello, I need to deploy and configure a new OTRS Framework which uses info gathered in an LDAP server. I’ve succesfully managed to authenticate agents and customers using LDAP backend. Now I’d like to obtain extra info from LDAP apart from just names (things like company, department and such). I’ve succesfully retrieved and shown this ingo for customers, as they don’t use any DB connection, just LDAP. But I’m stuck mapping this information to the DB for agent users. I’ve tried the following to add a personal field ‘middlename’: 1. added the column ‘middlename’ to the ‘User’ table (MySQL DB) 2. added the line UserMiddlename => 'middlename' to the DB=>LDAP mapping (@ Config.pm) 3. added “$QData{" UserMiddlename "}” to Kernel/Output/HTML/Standard/AdminUser.dtl, to be shown when “Edit agent” But it seems that “$QData{" UserMiddlename "}” is always empty. I’ve sniffed the communications between OTRS and AD server. When the request is searching a customer, it just asks for the LDAP fields that I’ve included in the Config.pm file, $Self->{CustomerUser} definition. But, when the request is searching an agent, it asks for ALL the LDAP fields available, and it gets them, but it won’t show them. In fact, the DB has no middleName data,although the rest of it is updated succesfully. Can anyone explain how should I proceed? Juan Clavero Almirón Gestiò d’Identitats, Firma i Custòdia Oficina de Tecnologies, Informació i Comunicacions (OTIC) Servei de Salut de les Illes Balears C/ de les Escoles, s/n - 07181 Bendinat - Mallorca Telf. +34 971.42.65.30
participants (1)
-
Juan Manuel Clavero Almirón