Hi Ralf, 14/09/2015 11:01 - Ralf Hildebrandt wrote: >(...) > Problem: Some users have the email address in the LDAP attribute > "email", others in "janetMailbox". > > How can I display both "email" and "janetMailbox" (or rather the > attribute that happens to be non-empty).
First of all it is easy to add new search fields for the CustomerUser search + displaying see Defaults.pm CustomerUserListFields => [ 'first_name', 'last_name', 'email' ], CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', 'customer_id' ], so you CustomerUserSearchFields could be: CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', 'email', 'janetMailbox' ], but e-mail adress is not that easy. in Defaults.pm you'll find for the ListFields: # The last field must always be the email address so that a valid so you only can use one e-mail fields (not both) for OTRS using it correctly. You could add a 2nd LDAP backend with a LDAP filter" AlwaysFilter => '(janetMailbox=*)' and CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', 'janetMailbox' ], and the second LDAP is the same, with a different filter AlwaysFilter => '(mail=*)' and CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', 'email' ], :) maybe this helps. -- Florian
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs