Can you help me, I can't import the whole active directory users to my otrs implementation.
When I try logging in customer page an error occur: Need Customer ID!!!
#Enable LDAP authentication for Customers / Users
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'miserver.midominio.com';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=Funcionarios EMPRESA,dc=empresa,d$
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
#The following is valid but would only be necessary if the
#anonymous user do NOT have permission to read from the LDAP tree
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=itop,ou=EMPRESA,Dc=empresa,$
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Clave_2015';
#Enable LDAP authentication for Customers / Users
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'miserver.midominio.com';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=Funcionarios EMPRESA,dc=empresa,d$
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
#The following is valid but would only be necessary if the
#anonymous user do NOT have permission to read from the LDAP tree
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=itop,ou=EMPRESA,Dc=empresa,$
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Clave_2015';
#CustomerUser
#(customer user database backend and settings)
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
#anonymous user do NOT have permission to read from the LDAP tree
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=itop,ou=EMPRESA,Dc=empresa,$
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Clave_2015';
#CustomerUser
#(customer user database backend and settings)
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'miserver.midominio.com',
BaseDN => 'OU=Funcionarios EMPRESA,DC=empresa,DC=gob,DC=ec',
SSCOPE => 'sub',
UserDN =>'cn=itop,ou=EMPRESA,dc=empresa,dc=gob,dc=ec',
UserPw => 'Clave_2015',
},
# customer unique id
CustomerKey => 'sAMAccountName',
# customer #
CustomerID => 'cn',
SSCOPE => 'sub',
UserDN =>'cn=itop,ou=EMPRESA,dc=empresa,dc=gob,dc=ec',
UserPw => 'Clave_2015',
},
# customer unique id
CustomerKey => 'sAMAccountName',
# customer #
CustomerID => 'cn',
CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '@empresa’,
CustomerUserSearchListLimit => 250,
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' ],
CustomerUserSearchSuffix => '@empresa',
CustomerUserSearchListLimit => 250,
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' ],
],
};
Troubleshooting LDAP Integration
Moderator: crythias
Re: Troubleshooting LDAP Integration
check the OTRS log. Also I see some missing ' and ; in your config
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com