I'm new here and I'm an OTRS newbie. I beg for your patience with this clueless kid.
I have successfully installed and configured OTRS 6.0.18 (will update soon), everything works as expected, including a double backend configuration with the native DB and my AD via LDAP. But I have one little issue that I'd like to solve.
By default, the CustomerID of all Customer Users is their email. We don't want that. We want everyone to have the same CustomerID. Also, we don't want multiple CustomerIDs (as explained here), we want just one that is not unique.
We tried this, but it didn't work. The Company field is not blank on AD Users's Properties, and it's the same for all users, but tickets are still being created with the Customer User email as CustomerID.
Code: Select all
CustomerKey => 'sAMAccountName',
# CustomerID => 'mail',
CustomerID => 'company',
CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 10000,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
Map => [
# note: Login, Email and CustomerID needed!
#[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
[ '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' ],
[ 'UserCustomerID', 'CustomerID', 'company', 0, 1, 'var' ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
#[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],
#[ 'UserComment', 'Comment', 'description', 1, 0, 'var' ],
],
};
Your pal
Estomagado