
Hello,
I try to use an existing ldap tree (exchange directory), but the field stay
empty, and I have the following error in the syslog file:
Apr 1 11:19:15 maild OTRS-CGI-10[16680]: [Error][Kernel::System::CustomerUser::
LDAP::CustomerSearch][Line:136]: No such object
I add the following line in my config.pm file:
$Self->{CustomerUser} = {
Name => 'LDAP Source',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => 'vinci.comareg',
BaseDN => 'ou=groupe',
SSCOPE => 'sub',
UserDN => '',
UserPw => '',
},
# customer uniq id
CustomerKey => 'uid',
# customer #
CustomerID => 'mail',
CustomerUserListFields => ['uid', 'cn', 'mail'],
CustomerUserSearchFields => ['uid', 'cn', 'mail'],
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
Map => [
[ 'UserLogin', 'Login', 'uid', 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' ],
],
};
When I do an ldap request with ldapsearch, everything is correct:
ldapsearch -h myhost -b "o=groupe" -s sub "(uid=firstname.name)" -x
# extended LDIF
#
# LDAPv3
# base