I'm also trying to get my OTRS windows installation to connect to AD. I
wasn't really able to figure out the config setup in OTRS ( it's almost
unusably slow on my system... ) so I've been trying to work out how to
add LDAP authentication to my config.pm. 
    It looks like it's working, (I have no errors in the apache
error.log, nor do I get an error accessing customer.pl ) but I can't log
in and when I'm logged on as a user I can't pull up any customer list. 
 
Here's the config.pm I've been using:
 
#   Authmodule information                                  #
   $self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
   $self->{'AuthModule::LDAP::Host'} = '192.168.42.245';
   $self->{'AuthModule::LDAP::BaseDN'} = 'dc=bocc, DC=monroecounty-fl,
dc=gov';
   $self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
   $self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=otrs helpdesk,
CN=users, dc=bocc, DC=monroecounty-fl, dc=gov';
   $self->{'AuthModule::LDAP::SearchUserPW'} = 'password';
   
#   Customer Authentication                                 #
   $Self->{'Customer::AuthModule'} =
'Kernel::System::CustomerAuth::LDAP';
   $Self->{'Customer::AuthModule::LDAP::Host'} = '192.168.42.245';
   $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'cn=users, dc=bocc,
DC=monroecounty-fl, dc=gov';
   $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
   $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=otrs
helpdesk, cn=users, dc=bocc DC=monroecounty-fl,dc=gov';
   $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'password';
 
 
 

#   Get Customer Information                                #
  $Self->{CustomerUser} = {
   Name =>'LDAP Backend',
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
      Host => '192.168.42.245',
      BaseDN => 'DC=monroecounty-fl,dc=gov',
      SSCOPE => 'sub',
      UserDN => 'CN=otrs helpdesk, cn=users, dc=bocc,
DC=monroecounty-fl, dc=gov',
      UserPw => 'password',
    },
    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' ],
    ],
  };
 

Any help welcome. 
 
Thanks,
 
Eric Udell
Technical Services
Monroe County BOCC
305-289-2504
 
BEGIN:VCARD
VERSION:2.1
N:Udell;Eric
FN:Eric Udell ([EMAIL PROTECTED])
ORG:Monroe County BOCC
TITLE:Sr. Systems Analyst
TEL;WORK;VOICE:(305) 289-2504
TEL;CELL;VOICE:(305) 747-0223
TEL;WORK;FAX:(305) 289-2816
ADR;WORK:;;2798 Overseas Hwy.;Marathon;FL;33050;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2798 Overseas Hwy.=0D=0AMarathon, FL 33050=0D=0AUnited States of America
URL;WORK:http://www.monroecounty-fl.gov
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20060504T173259Z
END:VCARD
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to