Hi,
I have some trouble with my LDAP config for auth otrs Customers with windows
AD.
My Config.pm
#----------------------------------------
#Enable LDAP authentication for Customers / Users
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'X.X.X.X';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=serveur,dc=local';
$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=Administrateur,Ou=Administrateurs,dc=serveur,dc=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'PASSWORD';
#CustomerUser
#(customer user database backend and settings)
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'X.X.X.X',
BaseDN => 'DC=serveur,DC=local',
SSCOPE => 'sub',
UserDN =>'cn=Administrateur,Ou=Administrateurs,dc=serveur,dc=local',
UserPw => 'PASSWORD',
},
# customer unique id
CustomerKey => 'sAMAccountName',
# customer #
CustomerID => 'mail',
CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
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' ],
],
};
#----------------------------------------
I have no error and in my otrs admin page, i see all Customer users when i
search *.
But i can't connect Client in customer page :
User unknown or wrong password :(
Anybody can help me?
Best Regards,
PS : Sorry for my English !
Vincent
<Vincent COLAS (vcolas@cnam-poitou-charentes.fr).vcf>---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage:
http://otrs.org/Archive:
http://lists.otrs.org/pipermail/otrsTo unsubscribe:
http://lists.otrs.org/cgi-bin/listinfo/otrsNEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/