Look
for the CustomerID => field in config.pm.
We
have this info linked to AD and CustomerID is set to "mail". CustomerKey needs
to be set to "sAMAccountName".
Here
is our settings in Config.pm for the customer section.
# CustomerUser
# (customer user ldap backend
and settings)
$Self->{CustomerUser} =
{
Module =>
'Kernel::System::CustomerUser::LDAP',
Params =>
{
# ldap
host
Host
=>
'dcsrv1',
# ldap base
dn
BaseDN
=>
'dc=domain,dc=local,dc=com',
# search scope
(one|sub)
SSCOPE =>
'sub',
#
The following is valid but would only be necessary if
the
#
anonymous user does NOT have permission to read from the LDAP
tree
UserDN
=>
'cn=otrs,ou=Services,dc=domain,dc=local,dc=com',
UserPw => 'password',
},
# customer uniq
id
CustomerKey =>
'sAMAccountName',
# customer
#
CustomerID =>
'mail',
CustomerUserListFields
=> ['sAMAccountName', 'cn',
'mail'],
CustomerUserSearchFields
=> ['sAMAccountName', 'cn',
'mail'],
CustomerUserPostMasterSearchFields =>
['mail'],
CustomerUserNameFields
=> ['givenname', 'sn'],
Map
=> [
#
note: Login, Email and CustomerID
needed!
#
var, frontend, storage, shown, required,
storage-type
#
[ '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'
],
# [
'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var'
],
# [
'UserAddress', 'Address', 'postaladdress', 1, 0, 'var'
],
# [
'UserComment', 'Comment', 'description', 1, 0, 'var'
],
],
};
Regards,
Thomas
Hi,
I just wanted to ask a couple of questions……
Is there any way to setup otrs(setup with LDAP
integration ie… AD) so that when I go under Customer User Management I can see
the users that are under the Active Directory tree.
Also under phone view when I create a new ticket I
would like to have this…. When I enter the user in the From: field and
hit search that it would look in the Active Directory and pull the phone
number, office number, and title and either include them on the Customer info
section on the side or include them in the text section of the ticket. I
don't know how to do this off hand so that is why I'm asking……
Is any of this possible…….
Thanks……
Neil
DISCLAIMER:
This message contains information that may be privileged or confidential and is the property of the Roxar Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.