Hi PPL,

I've Upgraded to 2.2.1 and I have A problem with customer LDAP auth.

My config.pm is the same as in a previous version, but LDAP doesn't work.
the Logs show:

[Mon Jul 23 17:54:52 2007][Notice][Kernel::System::CustomerAuth::DB::Auth]
CustomerUser: No auth record in 'customer_user' for 'cliente.teste'
(REMOTE_ADDR: 127.0.0.1)

my config.pm relating to the customer is:


$Self->{'Ticket::Frontend::CustomerInfoCompose'} = 1;
   $Self->{'Ticket::Frontend::CustomerInfoZoom'} = 1;
   $Self->{'Ticket::Frontend::CustomerInfoQueue'} = 0;

   $self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
   $self->{'Customer::AuthModule::LDAP::Host'} = '10.0.0.1';
   $self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=iplei,dc=pt';
   $Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=otrsclient,cn=Users,dc=iplei,dc=pt';
   $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
   #$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
   $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
   $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'CN=Administrator,CN=Users,DC=iplei,DC=pt';
   $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = '@[EMAIL PROTECTED]';

   $Self->{CustomerUser} = {
           Name => 'LDAP Backend',
           Module => 'Kernel::System::CustomerUser::LDAP',
           Params => {
               Host => 'serveriplei.iplei.pt',
               BaseDN => 'dc=iplei,dc=pt',
               SSCOPE => 'sub',
               UserDN => 'CN=Administrator,CN=Users,DC=test,DC=pt',
               UserPw => 'password',
           },
       AlwaysFilter => '',
       CustomerKey => 'sAMAccountName',
       CustomerID => 'mail',
       CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
       CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
       CustomerUserPostMasterSearchFields => ['mail'],
       CustomerUserNameFields => ['givenname', 'sn'],
       Map => [
              [ 'UserSalutation', 'Title',      'title',           1, 0,
'var', '', 0 ],
           [ 'UserFirstname',  'Firstname',  'givenname',       1, 1,
'var', '', 0 ],
             [ 'UserLastname',   'Lastname',   'sn',              1, 1,
'var', '', 0 ],
           [  'UserLogin',      'Username',   'sAMAccountName',
1, 1, 'var', '', 0 ],
           [ 'UserEmail',      'Email',      'mail',            1, 1,
'var', '', 0 ],
           [ 'UserCustomerID', 'CustomerID', 'mail',            0, 1,
'var', '', 0 ],
       ],
   };

The problem seems to be that in the sysconfig screens, in
Frontend::Customer::Auth the values there are for DB backend and not LDAP.
I went thru the manual several times and couln'd find the answer.
Do I have to change the values in the sysconfig screens? Is there a way to
configure this using only the text files?
What am I missing?

Thank you all



--
Rui Silva
http://rukinhas.no-ip.org
_______________________________________________
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 or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to