small patch for Kernel::System::Auth::Sync::LDAP

Moderator: tto

OTRS newbie
Posts: 1
Joined: 17 Apr 2013, 16:22
OTRS Version?: 3.1.14
Real Name: Felix J. Ogris

small patch for Kernel::System::Auth::Sync::LDAP

Postby fjo » 28 Apr 2013, 21:15


attached patch does two things:

1. In Kernel/, one can write:

$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
UserFirstname => [ 'givenName', 'initials' ],
UserLastname => 'sn",

This way each agent's UserFirstname is set to her/his givenName and initials. Might be handy if you have a neat Active Directory and user names like "Felix" (givenName), "J." (initials), and "Ogris" (sn).

2. It saves all keys of UserSyncMap and their related values it got from AD/LDAP to the agent's preferences. IMHO the only way to pull in an agent's phone or fax number (or whatever you have in UserSyncMap) from LDAP or AD.

Patch is for OTRS 3.1.14, but might do on 3.0.x, 3.1.x, and 3.2.x as well.

You do not have the required permissions to view the files attached to this post.

Return to “Patches / Modules”

Who is online

Users browsing this forum: No registered users and 1 guest