[otrs] Definitions for LDAP Authentication

Bart Verstricht B.Verstricht at interdio.be
Thu Dec 27 23:36:05 GMT 2007


Justin,
 
did you read my installation guide already, espessialy the windows LDAP query user part?
http://trinityhome.org/Home/index.php?wpid=98&front_id=18
 
Regards,
 
Bart

________________________________

Van: otrs-bounces at otrs.org namens Justin Holt
Verzonden: do 27/12/2007 22:01
Aan: User questions and discussions about OTRS.org
Onderwerp: Re: [otrs] Definitions for LDAP Authentication


Hi again everyone, I have some new information for you if you care to listen.
 
So far, when I adjust my config.pm file to work with LDAP Active Directory, I can get to the Customer log in page, but, I can not log in using a name that is the same in the OTRS db or the Windows Active Directory, the screen just comes up with red text saying: 
"Login Failed. Your username or password was entered incorrectly."
 
Does that have something to do with syncing LDAP with the DB (I'm sorry but I have read through quite a bit of posts and I have little idea as to what to do.)
 
I think this may also be a source of my problem.  All users of the Active Directory that we plan on allowing to use this are in this location:
\\ci.vernon.ct.us\Accnts\Client\Loctns\VDP <file://ci.vernon.ct.us/Accnts/Client/Loctns/VDP> 
 
I believe that is also the location of the user otrs_ldap that we are using to query the MS Active Directory.  
 
I am posting below what I have right now in the config.pm to use LDAP with the hopes that one of you may respond back with a proper fix to get this up and running for me because I have just run out of ideas.
 
 
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'vdp-dc-003';
$Self->{'AuthModule::LDAP::BaseDN'} = 'ou=Domain Users, dc=vernon_fr';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'otrs_ldap';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '1qaz2wsx';
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'vdp-dc-003';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=vernon_fr';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'otrs_ldap';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = '1qaz2wsx';
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'vdp-dc-003',
BaseDN => 'ou=Domain Users, dc=vernon_fr',
SSCOPE => 'sub',
UserDN => 'otrs_ldap',
UserPw => '1qaz2wsx',
},
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 again to anyone who can help me out.
 
Justin Holt
Town of Vernon IT Intern
 
(I appologize if this is a double email, I accidently hit send with out the config edit)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7327 bytes
Desc: not available
Url : http://lists.otrs.org/pipermail/otrs/attachments/20071227/f3bb7a8a/attachment.bin


More information about the otrs mailing list