
Tyler Hepworth wrote:
I setup OTRS to automatically pull customer data from Active Directory. When I search for a customer, I get weird values filled in for the found customer. First, the "Take this User" drop down always displays two values to choose from (even if I have entered a unique customer to search for).
Example. I have a unique user "adamp". I type this in a click search. The "Take this User" select opens and gives me the following choices:
"adamp adamp"
ADAMP$ ADAMP It gives me an email address to choose from (which is correct) and then it gives me a name that has a $ sign after it. Any ideas why this is happening?
Second, The name that corresponds with the correct email address is wrong. It always displays a users name as "uid uid" instead of "givenname sn"
Like above:
Always shows as: "adamp adamp"
But should be: "Adam Pitcher" Any ideas about that?
I fixed it. It has to do with the ldap fields that are specified in Config.pm CustomerUserListFields CustomerUserSearchFields CustomerUserNameFields The default values didn't work with my Active Directory naming structure. I had to switch them around, but it was just chance that I figured out to change the values in those fields. Is there some better documentation on the specific function of each of those hash values? That might help a future explorer in there search. Regards, Tyler