hi,
This is my Config.pm file:
# ---------------------------------------------------- #
# INTEGRATION ACTIVE DIRECTORY
# ---------------------------------------------------- #
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'hostxx';
$Self->{'AuthModule::LDAP::BaseDN'} =
'ou=Pro,dc=exploitation,dc=local';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=Guillaume
Rehm,ou=Pro,dc=exploitation,dc=local';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'xxx';
$Self->{'Customer::AuthModule'} =
'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'hostxx';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'ou=Pro,dc=exploitation,dc=local';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=Guillaume Rehm,ou=Pro,dc=exploitation,dc=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'xxx';
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'hostxx',
BaseDN => 'ou=Pro,dc=exploitation,dc=local',
SSCOPE => 'sub',
UserDN => 'cn=Guillaume Rehm,ou=Pro,dc=exploitation,dc=local',
UserPw => 'xxx',
},
CustomerKey => 'sAMAccountName',
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' ],
],
};
Thanks in advance
Guillaume REHM
Service Informatique
Bibliothèque Nationale et Universitaire de Strasbourg
5 rue du Maréchal Joffre
BP 51029
67070 Strasbourg
tél: 03 88 25 28 43
fax: 03 88 25 28 03
mail: [EMAIL PROTECTED]
web: http://www.bnu.fr
Isaac Gonzalez a écrit :
What have you specified as your mappings....
The following work fine for me:
CustomerKey => 'sAMAccountName',
CustomerID => '[customer_id]',
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', 'company', 0, 1, 'var' ],
# [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0,
'var' ],
# [ 'UserAddress', 'Address', 'postaladdress', 1, 0,
'var' ],
# [ 'UserComment', 'Comment', 'description', 1, 0,
'var' ],
],
};
Possibly send your config
Isaac Gonzalez
Systems Administrator
AutoReturn
Phone: (415)575-2359
Fax: (415)575-2379
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Guillaume Rehm
Sent: Thursday, April 13, 2006 3:06 AM
To: otrs@otrs.org
Subject: [otrs] Active Directory integration
Hi all,
I integrate Active Directory into OTRS. I can log in OTRS with the
account specified to search in active directory. But all others
account can't be activated by OTRS.
Moreover, [EMAIL PROTECTED] (local root account) can't log in now.
Anyone have an idea ?
Thanks in advance